Example 12: Import a DSC-managed member title list from one partitioned data set to another
//JOB0012 JOB ... //DOTITLES EXEC PGM=IQIBUTIL //STEPLIB DD DISP=SHR,DSN=IQI.SIQILOAD //IQIBUDFL DD DISP=SHR,DSN=IQI.SIQIPLIB //SYSPRINT DD SYSOUT=* //PRODLIB DD DISP=OLD,DSN=PAYROLL.PROD.EMPLOYEE.LIB //TESTLIB DD DISP=SHR,DSN=PAYROLL.TEST.EMPLOYEE.LIB //SYSIN DD * TITLEIMP I=((TESTLIB,R)),USERKEY=VERSION9, O=PRODLIB, LIST=YES /*
In this example:
- The member titles of those member names of data set PAYROLL.TEST.EMPLOYEE.LIB that also exist in data set PAYROLL.PROD.EMPLOYEE.LIB are copied (with replacing existing titles).
- The title user key of each imported title is replaced with "VERSION8".
- Due to the
LIST=YESoption, a listing of all member titles of PAYROLL.PROD,EMPLOYEE.LIB is written to SYSPRINT.
- In order to display PAYROLL.PROD.EMPLOYEE.LIB titles, you need to set your DSC Member Selection
List (MSL) display mode to