How to download maintenance with CAUNZIP.
Release : 15.0
Patty,
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 Downloads.
Select solutions.
Select the release.
Start download. Select I want a complete package which is the default to include all required / prerequisites.
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 beFTP'ed from the PC to
the mainframe.
This is the CAUNZIP JCL:
..... ================================ T O P =================================
000001 //BAR$UNZI JOB 111100000,RANDY,CLASS=D,MSGCLASS=X,NOTIFY=BARRA01
000002 /*JOBPARM SYSAFF=CA31
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 //*INKLIB SET LINKLIB='LVL1MVS.CCS390.R14.CAW0LINK'
000016 //INKLIB SET LINKLIB='BARRA01.CCS150.CAW0LINK'
000017 //OUTCLASS SET OUTCLASS='*'
000018 //CAUNZIP EXEC PGM=IKJEFT01,DYNAMNBR=10,REGION=0M
000019 //STEPLIB DD DISP=SHR,DSN=BARRA01.CCS150.CAW0LINK
000020 //ZIPRPT DD SYSOUT=&OUTCLASS,RECFM=FBA
000021 //SYSTSPRT DD SYSOUT=&OUTCLASS
000022 //SYSPRINT DD SYSOUT=*
000023 //TMPPTF DD SYSOUT=*
000024 //TMPHLD DD SYSOUT=*
000027 //STDOUT DD SYSOUT=&OUTCLASS
000028 //STDERR DD SYSOUT=&OUTCLASS
000029 //SYSTSIN DD *
000030 CAUNZIP ZIPPATH(/plexc1/u/users/barra01/RCVORDER/) -
000031 ZIPFILE(28016381.ZIP) -
000033 JAVAPATH(/C/java/java64bt/v8r0m0/usr/lpp/java/J8.0_64)
000034 /*
...... ============================= B O T T O M ==============================
Path /plexc1/u/users/barra01/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=120
000141 //SMPCSI DD DISP=SHR,DSN=your.CSI
000142 //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='/plexc1/u/users/barra01/RCVORDER/28016381/28016381/'
000149 //SMPCNTL DD *
000150 SET BOUNDARY(GLOBAL) .
000151 RECEIVE FROMNTS(SMPNTS)
000152 SYSMODS
000153 HOLDDATA
000154 DELETEPKG
000155 .
000156 /*
You only need to replace your.CSI with the actual CSU 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=BARRA01.LATEST.CSI
003104 //SMPCNTL DD *
003105 SET BOUNDARY(CAIT18).
003106 APPLY CHECK SYSMOD
003107 FORFMID (
003110 CAGJJ00
003111 CAGJJ01 )
003135 BYPASS(HOLDSYSTEM HOLDERROR).