>> I tried this in REXX, more familiar for me than DFSORT.

Wayne,

Thanks for the REXX code, however, please note that there is additional 
processing.  OP wants to generate 2 different command files and make a copy of 
the input along with setting a return code if the input file is empty, so that 
they can skip further processing.

Rexx is good at some tasks, but it is not good at I/O when compared to DFSORT. 

Thanks,
Kolusu
DFSORT Development
IBM Corporation

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to