//PAXSSD JOB your job parameters <== Modify job card //* //* Remember to set CAPS OFF! Unix path names are case-sensitive. //* //SETTEMP SET TEMPPATH='/tmp/userid' <== Set a temp path //SETSSD SET SSDROOT='/SAS/SoftwareDepot' <== Software Depot root //SETUNIT SET CARTUNIT='3590-1' <== Verify tape Unit Name //SETVOLS SET VOLCOUNT=2 //* //SETTDSN SET CARTDSN='SAS.SOFTWARE.DEPOT' <== Name of tape file //* //* The following step is only necessary if you are cataloging //* the pax tape. Uncomment the XX DD card if the data set is //* already cataloged. //* //STEP000 EXEC PGM=IEFBR14 //*XX DD DISP=(MOD,DELETE),DSN=&CARTDSN,UNIT=&CARTUNIT //* //*===================================================================* //* Uncomment the 2 lines beginning with //MKDIR if you want to create* //* the directory in the TEMPPATH variable above. WARNING! Do NOT * //* execute this step if you have any other files in this directory * //* as they WILL be deleted! * //*===================================================================* //*MKDIR EXEC PGM=BPXBATCH,DYNAMNBR=20, //* PARM='SH rm -rf &TEMPPATH;mkdir &TEMPPATH' //* //*===================================================================* //* Create Script to create the pax file on tape(s) * //*===================================================================* //GENER EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSUT1 DD * #!/bin/sh cd $1 /bin/pax -wLvf //DD:PAXOUT . /* //SYSUT2 DD PATHOPTS=(OWRONLY,OCREAT),FILEDATA=TEXT, // PATHMODE=(SIRUSR,SIWUSR,SIXUSR), // PATH='&TEMPPATH/makpax.sh' //* //*===================================================================* //* Execute script to create pax file(s) * //*===================================================================* //PAXSSD EXEC PGM=BPXBATCH,DYNAMNBR=20, // PARM='PGM &TEMPPATH/makpax.sh &SSDROOT' //*===================================================================* //* Modify PAXOUT DD as appropriate for tapes at your site * //*===================================================================* //PAXOUT DD DSN=&CARTDSN,DISP=(NEW,CATLG,DELETE),UNIT=&CARTUNIT, // DCB=TRTCH=COMP,EXPDT=98000, // VOL=SER=(vol100,vol102,vol103,vol104,vol105) <== set volsers //* //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* //STDENV DD * _BPX_SHAREAS=YES /* //*===================================================================* //* Uncomment the following two lines if you want to delete the * //* directory in the TEMPPATH variable above. WARNING! Do NOT * //* execute this step if you have any other files in this directory * //* as they WILL be deleted! //*===================================================================* //*RMDIR EXEC PGM=BPXBATCH,DYNAMNBR=20, //* PARM='SH rm -rf &TEMPPATH' //*