> I think you may have missed that in my ?real? job, ...

I have not missed but forgotten, and did not care to go back to your initial 
post.


>I run a REXX on MAINT.TEMP.LIST that re-formats the report created by the 
>DFHSM LIST command into ?MAINT.TEMP.TEMP.  It?s MAINT.TEMP.TEMP that is 
>actually the SORTIN, and MAINT.TEMP.LIST that is the SORTOUT, but your premise 
>may still be sound.




Let me see if I get this right:
o You run a rexx that issues the "HSENDCMD...... OUTDATASET(A)"
o You read the output from HSM from DSN=A. For this you do an "ALLOCATE" and 
"EXECO" in the Rexx.
o You reformat the HSM output and write it to DSN=B. For this you do an 
"ALLOCATE" and EXECIO" in the rexx.
o You "FREE" both DSNs in the Rexx
o You run SORT in the next step with //SORTIN DD DSN=B,DISP=SHR




DSN=B may exist before the rexx step or may be allocated within the rexx. In 
both cases HSM would not care, because HSM is allocating and writing to DSN=A, 
freeing its allocation on it when the command has finished.


Initiator will find DSN=B when it does step allocstion. This has nothing to do 
with the enqueue being done at job initition.
What am I missing here?


--
Peter Hunkeler

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

Reply via email to