I've been given a source to copy into my program containing the program's output parameters :
01 COPY_MEMBER.
05 MY_TABLE.
10 MY_TABLE_LINE OCCURS 2 INDEXED BY MY_INDEX.
15 MNTPRS-U.
20 MNTPRS PIX X.
15 MNTPRT-U.
20 MNTPRT PIX X.
10 FILLER PIC X OCCURS 10
05 MY_TABLE.
10 MY_TABLE_LINE OCCURS 2 INDEXED BY MY_INDEX.
15 MNTPRS-U.
20 MNTPRS PIX X.
15 MNTPRT-U.
20 MNTPRT PIX X.
10 FILLER PIC X OCCURS 10
I've changed the names obviously, could someone explain to a newcomer at COBOL like myself what each line means?
I'm guessing that some of the lines are superfluous. Are the level 15's really necessary?
Thanks in advance!
Code'd