Off the top of my head, it would seem that MAINT.TEMP.LIST is not freed (so
that it can be cataloged).
Try adding a free da('maint.temp.list') to the ikjeft01 step.
Another possibility is to pre-allocate maint.temp.list in the ikjeft01 step.
Also, id maint.temp.temp pre-allocated or created by sort?
HTH,
<snip>
<code>
//HSMLIST EXEC PGM=IKJEFT1A
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
HSENDCMD WAIT LIST PVOL OUTDATASET('MAINT.TEMP.LIST')
/*
//SORTIT EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=SHR,DSN=MAINT.TEMP.LIST
//SORTOUT DD DISP=MOD,DSN=MAINT.TEMP.TEMP
//SYSIN DD *
SORT FIELDS=COPY
/*
</code>
The job *fails* with a JCL error. I get the following message to my terminal: -
ARC0141I ERROR ALLOCATING OUTPUT DATA SET
The joblog for the SORT step shows:-
IEFA107I xxxxxxxx SORTIT SORTIN - DATA SET MAINT.TEMP.LIST NOT FOUND
</snip>
This email � including attachments � may contain confidential information. If
you are not the intended recipient, do not copy, distribute or act on it.
Instead, notify the sender immediately and delete the message.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN