Idcams close vsam file




















Define Cluster command is used to define a cluster and specify parameter attributes for the cluster and its components. Record Size parameter has two values which are Average and Maximum record size. The Average specifies the average length of the logical records in the file and the Maximum denotes the length of the records.

Freespace specifies the percentage of free space to reserve for the control intervals CI and control areas CA of the data component. The default value of this parameter is zero percentage. Keys parameter is defined only in key-sequenced KSDS files. It specifies the length and offset of primary key from first column.

The range of value of this parameter are from 1 to bytes. The value of this parameter specifies the amount of time in terms of date and days for retaining the file. The default value for this parameter is zero days. It checks for index and data components and if any problem is found, the error messages are sent spool. You can check any of the IDCxxxxx messages. INDEXTEST — It checks the index component of the key-sequenced data set cluster by cross-checking vertical and horizontal pointers contained within the index control intervals, and by performing analysis of the index information.

The out-ddname is the DD name for the Output Dataset, where the input datasets records will be copied. In the above syntax, vsam-file-name is the VSAM dataset name for which we need all the information. ALL keyword is specified to get all catalog details. Examine command is used to check the structural integrity of a key-sequenced data set cluster. It checks for index and data components and if any problem is found, the error messages are sent spool. You can check any of the IDCxxxxx messages.

Verify command is used to check and fix VSAM files which have not been closed properly after an error.



0コメント

  • 1000 / 1000