|
|
IEHPROGM builds and maintains system control data. It is also used for renaming and scratching (deleting) a data set.
Some of the tasks that IEHPROGM can perform include the following:
The JCL used to execute this utility is as follows:
For cataloging a data set the following have to be coded: In SYSUT1, specifies the location of the system catalog (it is on a permanently mounted 3390 disk and on the volume called SYS12) and SYSUT2 specifies the location of the data set that is to be cataloged and in the CATLG statement the name, device and volume serial number of the data set to be cataloged is specified as follows:
For uncataloging a data set, there is no need to specify the location of the data set to be uncataloged, that is SYSUT2 statement is not required and the following have to be coded-:
For creating index for GDG, the BLDG INDEX command is used. It has 3 formats:
Where gdg-name is the name of the GDG, 'n' is the maximum number of generations that can exist for that GDG, EMPTY is an optional keyword that specifies the all entries are not to be removed form the index if the limit of number of generations is reached. The DELETE keyword is also optional, and is used to specify that the GDG data sets are to be physically removed form the volume that they exist on if their entries are deleted form the index. There is no need to specify the SYSUT2 statement and the following have to be coded:
For deleting the index for GDG, the DLTX INDEX command is used. There is no need to specify the SYSUT2 statement and the following have to be coded:
|
|
IBM Mainframe Related Tutorials |
|
---|---|
IBM Lotus Notes Tutorial | IBM-CICS Tutorial |
COBOL Tutorial | Linux Tutorial |
IBM-JCL Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.