David, Perfect. Thanks. That explains everything. In fact to confirm this, I replaced the DFSORT step with an IEFBR14 step, just allocating MAINT.TEMP.LIST DISP=SHR - I get the ARC0141I message, and the job fails JCL error.
So either I have to do the SORT in my REXX, or I have to run two jobs. Thanks everyone. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
