Simplifying the command set
If a value for a keyword is specified on the GLOBAL command, the specified value is applied globally on all commands in the command set for which the keyword is valid.
The example in the following figure shows how to set a value for the HISTORY_DDNAME keyword that applies to all other commands in the set. The commands to analyze areaname1 and areaname4 inherit this value as if it had been explicitly specified on the ANALYZE commands. Because the command to analyze areaname2 contains an explicit specification for the HISTORY_DDNAME keyword, the value abc overrides the value xyz for that database only.
Specifying the GLOBAL command
GLOBAL HISTORY_DDNAME=<xyz>
ANALYZE IAREA=<areaname1>
ANALYZE IAREA=<areaname2>,HISTORY_DDNAME=<abc>
ANALYZE IAREA=<areaname4>
You can also specify the IC, REPORT, and THRESHOLD subcommands under the GLOBAL command. These subcommands are globally applied as the values on all commands in the command set where they are valid.
The example in the following figure shows how to specify a REPORT subcommand that applies to all other commands in the set. The commands to analyzeareaname1 and reorganizeareaname3 (parallel analysis) inherit this subcommand as if it had been specified explicitly on the commands. Because the command to analyzeareaname2 contains an explicit REPORT subcommand of its own, that explicit subcommand overrides the REPORT subcommand on the GLOBAL command.
Setting a report default
GLOBAL
REPORT DEFAULT=NO,FREE_SPACE_ANALYSIS=YES
ANALYZE IAREA=<areaname1>
ANALYZE IAREA=<areaname2>
REPORT
REORGANIZE IAREA=<areaname3>,POINTER_VALIDATION=QUICK
The example in the following figure shows how to request the reorganization of three areas. During reorganization, full pointer validation is performed and an output image copy is generated for each area.
Reorganizing areas with pointer validation and image copy
GLOBAL POINTER_VALIDATION=FULL
IC DSNAME='<dataset-name-mask>',DISP=SHR
REORGANIZE IAREA=<areaname1>
REORGANIZE IAREA=<areaname2>
REORGANIZE IAREA=<areaname3>
Comments
Log in or register to comment.