On Feb 12, 2016, at 2:36 AM, Vince Getgood wrote:

Ed,
That’s more or less what John said. I thought the WAIT parameter would resolve that issue though.

On more investigation, there is nothing in the joblog for the HSMLIST step regarding the final disposition of 'MAINT.TEMP.LIST', regardless of if I run it on it's own, or as part of the two step job coded in my OP.

This lends credence to what Ed and John are saying. Even though I've coded WAIT on the DFHSM LIST command, the HSMLIST step is finishing and the SORTIT step starts before 'MAINT.TEMP.LIST' is allocated, hence the ARC0141I message and the JCL error.

Looks like I may have to do two jobs, or put some sort of "filler" step between the HSMLIST & SORTIT steps.
Vince.

It looks (to me) that you may have to get a scheduling package involved and let it figure out when the DSN is created and then run your second part of the job.

Ed

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to