Chapter 4. Utility Functions 297
1st ed., 6/30/04 - 312579601
To execute the utility:
1. Delete the lines in the template that are not required, or leave the comment indicator
(*) in column one.
2. Remove the comment indicator from the desired lines.
3. Specify values for the desired parameters.
4. Delete the parameters that are not desired.
5. Enter the command ‘‘FILE.’’
The job file is then submitted to the ACS service machine for execution.
JCL Example
The following example shows JCL for scratching cartridges and the alternatives of
unscratching cartridges or clearing the scratch lists in the control data set.
JCL to Scratch, Unscratch, and Replace
Output Description
Output resulting from the execution of the Scratch Update utilities includes:
• a listing of input commands with appropriate messages when syntax errors occur
• messages indicating any errors encountered during execution of the utility (see
Figure 19 on page 298)
• messages indicating successful scratching or unscratching of specific volumes
• an update to the library control data set reflecting volumes added to or deleted from
the scratch lists, or that scratch lists have been cleared or replaced.
/JOB jobname SLUADMIN
/PARM MIXED
/FILE SLSPRINT DEV PRNT CLASS A
/FILE SLSIN *
SCRATCH VOLSER(102412,102414,VACANT)
UNSCRATCH VOLSER(A1B1C1,A1B1C2,A1B1C3,A1B1C4)
REPLACEALL VOLSER(A1B1C1-A1B1C4)
Scratch Update