Comment on page
RECALL Examples
The CLI can be used to recall data sets using the RECALL command. RECALL is allowed for cataloged data sets only, therefore the command accepts a specific data set name as input. For example, an SMS-managed data set is recalled with its original SMS attributes as input to the ACS routines. For a non-SMS managed data set, the recall is performed on the original volume that accommodated the data set.
SCENARIO A: RECALLING A DATA SET WHEN THERE IS NOT ENOUGH SPACE ON ITS ORIGINAL VOLUME
A data set needs to be recalled, but the disk that originally accommodated the data set does not have enough free space. A manual recall operation is needed to recall the data set with a new volume parameter. The RECALL command will be as follows:
TSO M9CLI RECALL M9.APPL.SOURCE NEWV(M9AP01)
SCENARIO B: ENSURING VALID EXECUTION OF A JOB WITH ARCHIVED DATA SETS AS INPUT
A batch job requires several archived non-SMS data sets as input. Normally, automatic recall will be used during execution to transparently recall the data sets to their original volumes. But, since the data sets were archived a long time ago, their original volumes no longer exist. To prevent failures during the batch job execution, the system programmer uses the RECALL command in a preliminary job to recall the data sets to new volumes.
//M9CLISMF JOB ACCT#,TIME=NOLIMIT,REGION=0M
//*
//* RECALLING FILES PRIOR TO EXECUTION
//*
//M9CLI EXEC PGM=IKJEFT01
//STEPLIB DD DISP=SHR,DSN=SYS2.MODEL9.LOADLIB
//SYSEXEC DD DISP=SHR,DSN=M9.ALL.EXEC
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
M9CLI RECALL M9.APPL.Y2015 NEWV(M9APL4)
M9CLI RECALL M9.APPL.Y2016 NEWV(M9APL3)
M9CLI RECALL M9.APPL.Y2017 NEWV(M9APL2)
M9CLI RECALL M9.APPL.Y2018 NEWV(M9APL1)
M9CLI RECALL M9.APPL.Y2019 NEWV(M9APL0)
/*
//
Last modified 6mo ago