Guys
Can any one tell me why do we have a report layout being declared like the one below in a COBOL program? that's the combiation of two different data types?
WORKING STORAGE
01 report-rec.
.....
10 detail-line.
.......
WR-XYZ PIC 9(13)X(6)
10 ABC PIC X(19).
PROCEDURE DIV
................
MOVE ABC TO WR-XYZ.
..................
WRITE REPORT-REC.
Can any one tell me why do we have a report layout being declared like the one below in a COBOL program? that's the combiation of two different data types?
WORKING STORAGE
01 report-rec.
.....
10 detail-line.
.......
WR-XYZ PIC 9(13)X(6)
10 ABC PIC X(19).
PROCEDURE DIV
................
MOVE ABC TO WR-XYZ.
..................
WRITE REPORT-REC.