Implement scratch pools by first creating two files: the scratch pool definition file and the scratch pool assignment file. Then define each scratch pool in the scratch pool definition file and each pool assignment rule in the scratch pool assignment file.
POOLNAME SCRPOOL NAMES
The POOLNAME record specifies the name of the CMS file containing the scratch pool definitions.
Note: For more information about using the POOLNAME record, see POOLNAME Record.
POOLASGN SCRPOOL ASSIGN
The POOLASGN record specifies the name of the CMS file containing the scratch pool assignment rules.
Note: For more information about using the POOLASGN record, see POOLASGN Record.
For example, in the SCRPOOL NAMES pool definition file, to define scratch tapes in the range VM0001 to VM0999 and from VS0001 to VS0999 as members of the SYSTEM.TEST pool, add this definition record:
SCRPOOL=SYSTEM.TEST,RANGE=VM0001-VM0999,RANGE=VS0001-VS0999
Note: For more information about the format of a definition record, see Scratch Pool Definition File.
For example, in the SCRPOOL ASSIGN file, add the following assignment rule to specify that any request for a scratch tape from a user ID called CORPDB with a data set name starting with SQLDS.BACKUP must be assigned a scratch tape from the BANK VAULT pool:
DSN=SQLDS.BACKUP*,JOB=CORPDB,POOL=BANK.VAULT
Note: For more information about the format of an assignment rule, see Scratch Pool Assignment File.
You can now use the tapes as defined in each scratch pool.
|
Copyright © 2013 CA.
All rights reserved.
|
|