When I use the below jcl to see the layout of COBOL copybook, the output is always expanding the occurrences (OCCURS clause).
In Fileaid (Option - 8), we can choose Y or N (Expand Occurrences ===>) to view the expanded layout or not. Similarly, in Fileaid batch, is there a parameter which I can use with ($$DD01 RLPRINT) so that the output layout will NOT be expanding the occurrences.
Content of cobol copybook ds ==> UID.USER.TEST.CPY1
Code:
********************************* Top of Data **********************************
01 WS-GROUP-REC. 00000100
05 WS-ID PIC 9(10). 00000110
05 WS-FNAME PIC X(10). 00000200
05 WS-LNAME PIC X(20). 00000400
05 WS-DEPARTMENT OCCURS 02 TIMES. 00000500
10 WS-DEP-ID PIC 9(05). 00000600
10 WS-DEP-NAME PIC X(10). 00000700
******************************** Bottom of Data ********************************
Content of Fileaid batch JCL to print the report layout