CA Disk SVC updates a data set VTOC entry, recording the last used date, for example. The SVC has the following advantage over the IBM SU 60 update code: exemption entries are provided such that the product management tasks themselves do not cause data sets to appear used.
Zaps to one or more IBM modules must be applied to call the CA Disk SVC to do the updating.
The CA Disk SVC maintains the SU 60 change bit and last used date fields. SVC also maintains extra CA Disk defined fields and provides the facilities to overcome the SU 60 deficiencies.
The two fields that IBM SU 60 maintains appear to provide the information that you need to help manage disk storage. CA Disk functions can examine the two fields and can execute without the CA Disk SVC being installed. The SVC is required for your implementation for the following reasons:
Note: HFS data sets, DB2, and certain other applications bypass normal open processing and do not maintain a last modification date.
If you are going to install CA Disk SVC, provide a user SVC of type 3 or 4. Enable the SVC for interrupts and designate as either restricted or nonrestricted.
Note: For more information, see User SVC.
Before any fields are modified in the DSCB, the SVC verifies that all INPUT parameters contain an F1-DSCB. SVC also checks to ensure that the caller is in key 0 and in supervisor state.
If the IBM modules are zapped to execute the CA Disk SVC, the following fields are maintained in the F1-DSCB for each data set:
Last use date.
Format: ydd
Bytes: 3
Offset (DEC): 75 SU 60
Last modify date.
Format: ydd
Bytes: 3
Offset (DEC): 70
Job name or account code.
Format: char
Bytes: 8
Offset (DEC): 62
Count of updates to VTOC entry.
Format: bin
Bytes: 2
Offset (DEC): 73
Change bit.
Format: bit
Bytes: x'02'
Offset (DEC): 93 SU 60
SVC mode.
Format: char
Bytes: 1
Offset (DEC): 103
Optionally, you can specify Fields 1 and 2 as a 4 byte packed format (ccyydddF). If they are specified, adjust some of the field offsets to prevent overlaying other format 1 DSCB fields. The macro settings within the CA Disk SVC determine Field 3. You can elect to maintain an accounting code or job name. The accounting code measures from the first accounting field on the JOB statement for the job or user accessing the data set. You can also select how to maintain this field:
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|