your.name.CNTL.X A sequential fixed block file organization PS record format FB record length 80 block size 6160 your.name.ISPPLIB.X A sequential fixed block file organization PS record format FB record length 80 block size 6160 your.name.ISPPLIBH.X A sequential fixed block file organization PS record format FB record length 80 block size 6160 your.name.ISPSLIB.X A sequential fixed block file organization PS record format FB record length 80 block size 6160 your.name.LOADLIB2.X A sequential fixed block file organization PS record format FB record length 80 block size 3120
put CNTL.bin 'your.name.CNTL.X' put IPSPPLIB.bin 'your.name.ISPPLIB.X' put IPSPPLIBH.bin 'your.name.ISPPLIBH.X' put ISPSLIB.bin 'your.name.ISPSLIB.X' put LOADLOIB2.bin 'your.name.LOADLIB2.X'
put instjcl.txt 'your.pds(INSTJCL)'
//jobname JOB (9999,9999),'DEFINE ', // MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID, // MSGLEVEL=(1,1) //******************************************************* //DGSINST PROC PREFIX= //DELETE EXEC PGM=IEFBR14 //DEL1 DD DSN=&PREFIX..CNTL,DISP=(MOD,DELETE), // SPACE=(TRK,(1)) //DEL2 DD DSN=&PREFIX..ISPPLIB,DISP=(MOD,DELETE), // SPACE=(TRK,(1)) //DEL3 DD DSN=&PREFIX..ISPSLIB,DISP=(MOD,DELETE), // SPACE=(TRK,(1)) //DEL4 DD DSN=&PREFIX..ISPPLIBH,DISP=(MOD,DELETE), // SPACE=(TRK,(1)) //DEL5 DD DSN=&PREFIX..LOADLIB,DISP=(MOD,DELETE), // SPACE=(TRK,(1)) //STEP20 EXEC PGM=IEFBR14 //CREATE1 DD DSN=&PREFIX..CNTL,SPACE=(CYL,(5,2,80)), // DCB=(LRECL=80,RECFM=FB,BLKSIZE=22480), // UNIT=SYSDA,DISP=(NEW,CATLG) //CREATE2 DD DSN=&PREFIX..ISPPLIB,SPACE=(CYL,(5,2,80)), // DCB=(LRECL=80,RECFM=FB,BLKSIZE=22480), // UNIT=SYSDA,DISP=(NEW,CATLG) //CREATE3 DD DSN=&PREFIX..ISPPLIBH,SPACE=(CYL,(5,2,80)), // DCB=(LRECL=80,RECFM=FB,BLKSIZE=22480), // UNIT=SYSDA,DISP=(NEW,CATLG) //CREATE4 DD DSN=&PREFIX..ISPSLIB,SPACE=(CYL,(5,2,80)), // DCB=(LRECL=80,RECFM=FB,BLKSIZE=22480), // UNIT=SYSDA,DISP=(NEW,CATLG) //CREATE5 DD DSN=&PREFIX..LOADLIB,SPACE=(CYL,(5,2,80)), // DCB=(LRECL=0,RECFM=U,BLKSIZE=22528), // UNIT=SYSDA,DISP=(NEW,CATLG) //RECEIVE1 EXEC PGM=IKJEFT01,REGION=1024K //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INFILE DD DSN=&PREFIX..CNTL.X,DISP=SHR //SYSTSIN DD DUMMY //RECEIVE2 EXEC PGM=IKJEFT01,REGION=1024K //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INFILE DD DSN=&PREFIX..ISPPLIB.X,DISP=SHR //SYSTSIN DD DUMMY //RECEIVE3 EXEC PGM=IKJEFT01,REGION=1024K //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INFILE DD DSN=&PREFIX..ISPPLIBH.X,DISP=SHR //SYSTSIN DD DUMMY //RECEIVE4 EXEC PGM=IKJEFT01,REGION=1024K //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INFILE DD DSN=&PREFIX..ISPSLIB.X,DISP=SHR //SYSTSIN DD DUMMY //RECEIVE5 EXEC PGM=IKJEFT01,REGION=1024K //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //INFILE DD DSN=&PREFIX..LOADLIB2.X,DISP=SHR //SYSTSIN DD DUMMY // PEND //DGSINST EXEC DGSINST, // PREFIX='your.name' //RECEIVE1.SYSTSIN DD * RECEIVE INDDNAME(INFILE) DSN('your.name.CNTL') /* //RECEIVE2.SYSTSIN DD * RECEIVE INDDNAME(INFILE) DSN('your.name.ISPPLIB') /* //RECEIVE3.SYSTSIN DD * RECEIVE INDDNAME(INFILE) DSN('your.name.ISPPLIBH') /* //RECEIVE4.SYSTSIN DD * RECEIVE INDDNAME(INFILE) DSN('your.name.ISPSLIB') /* //RECEIVE5.SYSTSIN DD * RECEIVE INDDNAME(INFILE) DSN('your.name.LOADLIB2') /*
where your.name is the high level qualifier specified in the PREFIX variable.