The SCAN command can be used to select one or several datasets for compression from one or more volumes.
During SCAN processing, datasets that are eligible for compression, but which are in use by other tasks, are noted and bypassed until the end of processing for that volume. At that time, the compress procedure re-examines the bypassed datasets to see if they are still in use by other tasks. If not, they are processed. For those datasets still in use, CA Disk issues an informational message and no processing is performed.
Note: SMS managed datasets that are not cataloged will only be processed when the USE parameter is specified. Otherwise, the data set will be bypassed.
The parameters described below specify the selection criteria as well as the reallocation values.
The SCAN command syntax is:
SCANSIMULATE,VOLUMES=,EXTABLE=,DSNAMES=,THRESHOLD=,EMPTY,USE,SHRINK,CONVERT,
ALLOCATE=,RESERVE,PASSWORD
This parameter causes the output report to be produced as if compression had been performed. However no actual compression occurs.
Note: SIMULATE has the following implications:
To further enhance performance during SIMULATE processing, only the count fields of the member data blocks are read, which provides sufficient information to calculate reallocation values.
A list of one or more volumes or volume prefixes must be specified to designate the volumes to be scanned for PDS datasets to be compressed. Default processing looks for these volumes only as online real disk packs. (A maximum of 50 entries is supported.)
Specify for this parameter the name of the parmlib member that contains entries consisting of either complete data set names or patterns that are to be excluded from compression. This parameter can be nullified during SIMULATE runs by specifying sysparm PDSEXSIM with a value of N. This allows even the excluded datasets to be reported on during SIMULATE runs, although live runs will exclude them.
Candidates for compression can be restricted to those datasets having names or pattern names that are specified in the list value of this optional parameter. (A maximum of 10 entries is supported.)
This parameter provides a method of limiting those datasets selected for compression. It allows you to define five conditions, one of which must be met before a PDS will be eligible for processing. Datasets can be selected based on threshold ceilings, so you can recover dead space and/or increase allocation amounts to reduce out of space problems. Datasets can also be selected based on threshold floors, so you can recover overallocated space. (This parameter applies only to PDSs containing members. See EMPTY For a similar test for PDSs containing no members.)
The conditions have the following format and meaning: (UC,XC,DC,UF,DF)
For conditions UC and DC, specifying a value of 100 or more will cause all datasets to fail the threshold ceiling test. For condition XC, specifying a value of 16 or more will cause all datasets to fail the threshold ceiling test.
Since these thresholds provide the upper and lower limits for datasets that are considered ineligible for processing, it is not valid to specify for conditions UF and DF a value higher than the value specified in conditions UC and DC, respectively.
See also the USE, SHRINK and CONVERT parameters for how they are used in conjunction with THRESHOLD=.
This parameter provides an additional method for selecting datasets for compression. By specifying EMPTY, you extend PDS Compress processing to include empty datasets (that is, PDSs containing no members).
The presence of this parameter forces the use of the existing data set extent(s). Any allocation changes, if specified, are confined to directory adjustment; that is, the PP and SS sub parameters of the ALLOCATE= parameter are ignored and only the DD readjustment is done.
Specify this parameter to allow the data set allocation to be reduced. Default processing (this parameter absent) will not allow a data set to be reduced in size. The ALLOCATE= parameter must be present for SHRINK to be active.
Empty datasets (if the EMPTY parameter is also specified) will be reduced in size regardless of whether or not the SHRINK parameter is specified. Specifying the SHRINK parameter, however, provides an even greater space savings, because it reduces the directory allocation down to one track (or cylinder—see CONVERT parameter), thus permitting the primary space allocation to also be reduced to a single track (or cylinder).
This parameter can be used in conjunction with the SHRINK parameter for datasets currently allocated in cylinders. If it is specified on the same command as the USE parameter, CONVERT will be ignored. When a new space allocation is calculated and is less than one cylinder, this parameter converts the space allocation amount and type from cylinders to tracks (or blocks). This includes datasets allocated with the ROUND request in which the blocks are rounded up to space equal to an integral number of cylinders.
This optional parameter specifies three values used to reallocate the primary space, secondary space and directory space. The format and meanings are as follows:
(PP,SS,DD)
See the USE, SHRINK and CONVERT parameters for how they are used in conjunction with ALLOCATE=. Also see the SPACE= parameter (described under the explicit COMPRESS command in the following section.)
This parameter is provided for use in a multiple- CPU environment that does not use a global enqueue facility, to protect against other CPUs making concurrent updates. It causes a RESERVE to be issued against the volume in addition to the shared or exclusive ENQ already issued on the data set name. (See USE.) If this parameter is omitted, only the ENQ is done. The RESERVE and/or ENQ are done just prior to the compress of each data set and DEQ is issued immediately upon completion.
This parameter is active only if sysparm PASSWORD has been specified with a value of Y. Specify this parameter to allow CA Disk to compress password- protected datasets without prompting the operator for the password. If you do not specify this parameter, CA Disk will bypass these password-protected datasets.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|