Link to home
Start Free TrialLog in
Avatar of JCW2
JCW2

asked on

File control in COBOL

Note: I'm a taking a class.

In this code, there seems to be an issue with the following segment of code. Can you tell me what is going on?

*                                        
 FILE-CONTROL.                          
     SELECT PRINT-LINE ASSIGN TO PRTLINE.
*-------------                      
 DATA DIVISION.                    
*-------------                      
 FILE SECTION.                      
 FD  PRINT-LINE                    
     LABEL RECORDS ARE OMITTED      
     RECORD CONTAINS 121 CHARACTERS.
 01  PRINT-REC          PIC X(121).
*                                  

T011.txt
I011.txt
t11job1.txt
CBL2011.txt
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JCW2
JCW2

ASKER

Thank you for your help.
Welcome.

~bp