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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Welcome.
~bp
~bp
ASKER