StorageTek 6 manual JCL to Scratch, Unscratch, and Replace, Scratch Update, JCL Example

Models: 6

1 718
Download 718 pages 10.93 Kb
Page 327
Image 327
JCL to Scratch, Unscratch, and Replace

Scratch Update

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

/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)

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.

Chapter 4. Utility Functions 297

1st ed., 6/30/04 - 312579601

Page 327
Image 327
StorageTek 6 manual JCL to Scratch, Unscratch, and Replace, Scratch Update, JCL Example, Output Description