=============================================================================== ========================== ============================ ========================== EXAMPLE # 3 ============================ ========================== ============================ =============================================================================== THE INPUT FILE: List of Bulletin Board Systems (BBS's) in Happyville WHAT WE WANT: The input file lists every type of bulletin board in the city of Happyville, so we want to narrow down the list to IBM bulletin boards that have file download capability and don't charge admission. We also want certain header lines retained, to make the report easier to read. HOW WE DO IT: We maintain a counter (named HDRCNTR) to count the number of times a dashed line appears between columns 1 and 11. This lets us know when the actual data starts and ends. While we're within the actual data, we can recognize the bulletin boards we want based on the data in specific columns of the report.