1. After you execute thee VSAM Command why does onee normally execute VSAM REPRO Commandd?
2. The VSAM DELETE command is used too delete an VSAM Cluster. Why can’t you use a TSO or ISPF Delete commands to delete a VSAM Clusterr?
3. What are the differences between thee VSAM VERIFY and VSAM EXAMINE commandss?
After you execute thee VSAM Command then normally execute VSAM REPRO Commandd because of
REPRO command is used to load data into VSAM dataset. It is also used to copy data from one VSAM data set to another. We can use this command to copy data from sequential file to VSAM file. IDCAMS utility uses REPRO command to load the datasets.
->Verify command is used to check and fix VSAM files which have not been closed properly after an error. The command adds correct End-Of-Data records to the file.
->syntax of verify is
->In the above syntax, vsam-file-name is the VSAM dataset name for which we need to check the errors
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.
EXAMINE NAME(vsam-ksds-name) - INDEXTEST DATATEST - ERRORLIMIT(50)
->In the above syntax, vsam-ksds-name is the VSAM dataset name for which we need to examine index and data part of VSAM cluster.