How to download maintenance with CAUNZIP.
This is the procedure to download PTFs using CAUNZIP. In this example IDMS is being used.
1) Login to the Broadcom.com support
portal and follow these steps:
Select My Downloads and then search for the product. In this example IDMS was selected.
Select solutions.
Select the release.
Select "Do you want a complete package for all" if you want all pre/coreqs to be included. Optionally you can also select a date. Then Start Download.
This will download the package to your PC or FTP to the mainframe. It could also be FTP’ed from the PC to the mainframe.
Package 28016381.zip is downloaded to the PC and optionally be directly FTP'ed to the mainframe. It can also be FTP'ed from the PC to the mainframe.
This is the CAUNZIP JCL:
....... ================================ T O P ================================= 000001 //CAUNZIP JOBCARD 000003 //*===================================================================* 000004 //* THIS SAMPLE JOB CAN BE USED TO EXTRACT ELEMENTS FROM THE ZIP FILE * 000005 //* YOU DOWNLOADED FROM THE CA FTP SERVER. BEFORE SUBMITTING: * 000006 //* 1. CHANGE 'CALIB' TO THE NAME OF THE LOAD LIBRARY WHERE THE * 000007 //* CAUNZIP UTILITY RESIDES. * 000008 //* 2. CHANGE 'SCARTX.ZIP' TO THE ZIP FILE NAME * 000009 //* 3. CHANGE '/YOUR/ZOS UNIX/PATH/' TO THE LOCATION ON YOUR SYSTEM * 000010 //* THAT YOU DOWNLOADED THE ZIP FILE TO. * 000011 //* 4. CHANGE '/YOUR/JAVA/PATH/' TO A VALID JAVA 5, 6, OR 7 PATH, FOR * 000012 //* EXAMPLE: /USR/LPP/JAVA/J6.0/ * 000013 //* 5. SUPPLY A JOB STATEMENT BEFORE THIS SAMPLE JCL. * 000014 //*===================================================================* 000015 //OUTCLASS SET OUTCLASS='*' 000016 //CAUNZIP EXEC PGM=IKJEFT01,DYNAMNBR=10,REGION=0M 000017 //ZIPRPT DD SYSOUT=&OUTCLASS,RECFM=FBA 000018 //SYSTSPRT DD SYSOUT=&OUTCLASS 000019 //SYSPRINT DD SYSOUT=* 000020 //TMPPTF DD SYSOUT=* 000021 //TMPHLD DD SYSOUT=* 000022 //STDOUT DD SYSOUT=&OUTCLASS 000023 //STDERR DD SYSOUT=&OUTCLASS 000024 //SYSTSIN DD * 000025 CAUNZIP ZIPPATH(/plex/u/users/PTFS/RCVORDER/) - 000026 ZIPFILE(28016381.ZIP) - 000027 JAVAPATH(/C/java/java64bt/v8r0m0/usr/lpp/java/J8.0_64) 000028 /* ...... ============================= B O T T O M ==============================
Path /plex/u/users/PTFS/RCVORDER/ was pre created to store 28016381.zip therefore prior to this 28016381.zip was FTP'ed to it.
The output from the CAUNZIP will supply you with the receive JCL. This is an example:
000140 //S010 EXEC PGM=GIMSMP,PARM='PROCESS=WAIT',DYNAMNBR=120000141 //SMPCSI DD DISP=SHR,DSN=your.CSI000142 //SMPOUT DD SYSOUT=*000143 //SMPRPT DD SYSOUT=*000144 //SYSPRINT DD SYSOUT=*000145 //SMPJHOME DD PATHDISP=KEEP,000146 // PATH='/C/java/java64bt/v8r0m0/usr/lpp/java/J8.0_64/'000147 //SMPNTS DD PATHDISP=KEEP,000148 // PATH='/plex/u/users/PTFS/RCVORDER/28016381/28016381/'000149 //SMPCNTL DD *000150 SET BOUNDARY(GLOBAL) .000151 RECEIVE FROMNTS(SMPNTS)000152 SYSMODS000153 HOLDDATA000154 DELETEPKG000155 .000156 /*
You only need to replace your.CSI with the actual CSI and execute it.
This was the apply check in this example for IDMS:
003101 //APPLY EXEC PGM=GIMSMP,REGION=0M,PARM='DATE=U'003102 //SMPLOGA DD SYSOUT=*003103 //SMPCSI DD DISP=SHR,DSN=HLQ.LATEST.CSI003104 //SMPCNTL DD *003105 SET BOUNDARY(CAIT18).003106 APPLY CHECK SYSMOD003107 FORFMID (003110 CAGJJ00003111 CAGJJ01 )003135 BYPASS(HOLDSYSTEM HOLDERROR).