On Tuesday 09 June 2009 13:58, Paul Gilmartin wrote:

> //ALLOC   DD   DISP=(MOD,CATLG),UNIT=SYSALLDA,
> //  SPACE=(...),DSN=&SYSUID..DATA.SET
> //SYSUT2  DD   DISP=OLD,DSN=*.ALLOC,VOL=REF=*.ALLOC

If the data set is migrated under HSM, it has to be recalled 
which can take a while. This is not good.

If you use the CLEANUP utility as shown in the example below, the JCL is less 
complicated and HSM does NOT need to RECALL migrated data sets.

 //CLEANUP EXEC PGM=CLEANUP
 //ALLOC EXEC PGM=IEFBR14
 //ALLOC   DD   DISP=(,CATLG),UNIT=SYSALLDA,
 //  SPACE=(...),DSN=&SYSUID..DATA.SET

-- 
 Gilbert Saint-Flour
 GSF Software
 http://gsf-soft.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to