If I copy input or output fields only for a subfile, the compiler listing shows the I-O format. For example:
The compiler shows this for the first COPY and the same sort of thing for the second COPY:
Does the compiler always treat subfile as I-O, even if I ask for input or output only?
Does this mean I may as well use one COPY for both input and output instead of defining separate buffers?
Code:
Working-storage section. 01 Sfl-in. copy dd-sfl01-I of somedspf. 01 Sfl-out. copy dd-sfl01-O of somedspf.
Code:
01 Sfl-in. copy dd-SFL01-I of somedspf. * I-O FORMAT:SFL01 FROM FILE SOMEDSPF OF LIBRARY MYLIB * 05 SFL01. 06 . . .
Does this mean I may as well use one COPY for both input and output instead of defining separate buffers?
Comment