INITIALIZE OUTPUT-RECORD (followed by code which MOVEs values to each field in OUTPUT-RECORD)
INITIALIZE PRINT-LINE MOVE HEADING-LINE TO PRINT-LINE MOVE SPACE TO SAVE-INPUT-RECORD MOVE INPUT-RECORD TO SAVE-INPUT-RECORD INITIALIZE INPUT-RECORD-AREA READ INPUT-FILE I think with V5+ the optimizer may take care of some of these types. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN