How do you translate the following code from RPG to RPGLE?
E CLU 8 40
ICfile NS
I 1 13 Order#
I 14 53 CLINE1
I 54 93 CLINE2
I 94 133 CLINE3
I 134 173 CLINE4
I 14 173 CLU
Cfile is an external file with a DDS.
I know the array in the E specs can be replaced by the DIM keyword in the D-specs in RPGLE and that I can use CLU(1,2,3,etc) instead of CLU,(1,2,3,etc) in the C-specs but none of the code sample I have seen have a DS defined as an array.
Thanks in advance for the help.
E CLU 8 40
ICfile NS
I 1 13 Order#
I 14 53 CLINE1
I 54 93 CLINE2
I 94 133 CLINE3
I 134 173 CLINE4
I 14 173 CLU
Cfile is an external file with a DDS.
I know the array in the E specs can be replaced by the DIM keyword in the D-specs in RPGLE and that I can use CLU(1,2,3,etc) instead of CLU,(1,2,3,etc) in the C-specs but none of the code sample I have seen have a DS defined as an array.
Thanks in advance for the help.