CAUNZIP - How to see individual PTF descriptions?

book

Article ID: 211258

calendar_today

Updated On:

Products

CA Common Services for z/OS

Issue/Introduction

We successfully executed the CAUNZIP utility and received and applied a group of PTFs in SMP without problems

We need to have in a partitioned library all of these PTFs with description, like this:

This way if I select one of them I can see the description delivered with the PTF:

Since CAUNZIP does not create any output like this, how can we obtain the descriptions of each PTF?

Environment

Release : ANY
Component : CAUNZIP Utility

Resolution

While the CAUNZIP utility is not designed to provide a partitioned dataset containing the PTFs contained in the zipfile, here are a couple of options that can be used to create a sequential file (SMPPTFIN) that can be browsed.

It is in this sequential file that you can review each PTF description.

 

1. When the CAUNZIP utility is run it creates a paxfile in a newly created directory (see jobs SYSPRINT output). This file is generally used when you run the SMP RECEIVE job

Example: /u/users/CA/21116303/21116303/SMPNTS/SMPPTFIN/S0002.CA.TMPPTF.D21067.T113844.pax.Z

In OMVS, run a pax command against this pax file (pax -rvf filename). This will create a file named SMPPTFIN. You can OBROWSE this created file to read the descriptions of each ++PTF

 

2. You can run a modified version of CAUNZIP to direct the output to datasets that can be browsed. Below is some sample JCL to accomplish this method. Browse the created yourHLQ.SMPPTFIN dataset.

//jobcard                                            
//*-----------------------------------------------------------------**
//*                        * CAUNZIP *                              **
//*                                                                 **
//* FUNCTION: SAMPLE JOB USED TO UNZIP THE ZIP FILE CREATED BY      **
//* CA SUPPORT ONLINE TO STANDARD MVS DATASETS.                     **
//*                                                                 **
//* INSTRUCTIONS:                                                   **
//*                                                                 **
//* 1. Insert a valid JOB card. A minimum REGION of 128 MB is       **
//*    required. REGION=0M is recommended.                          **
//*                                                                 **
//* 2. Update /your/USS/pathname to the location where you          **
//*    downloaded the ZIP file.                                     **
//*                                                                 **
//* 3. Update order#.zip to the file name within your USS           **
//*    directory.                                                   **
//*                                                                 **
//* 4. Update /your/java/path to your site valid Java path. Java    **
//*    version 5 of higher is supported                             **
//*                                                                 **
//* 5. Update yourHLQ to the high level qualifier to use for        **
//*    temporary datasets.  This utility allocates at least 300     **
//*    cylinders to temporary datasets. If TEMPHLQ() is removed     **
//*    from the job the utility will use USERID() as the high       **
//*    level qualifier.                                             **
//*                                                                 **
//* 6. Update DSNPREF to your desired dataset prefix.               **
//*                                                                 **
//* 7. Update vvvvvv to your desired volser.                        **
//*-----------------------------------------------------------------**
//* COPYRIGHT (C) 2013 CA. ALL RIGHTS RESERVED.                     **
//*-----------------------------------------------------------------**
//*
// SET DSNPREF='yourHLQ'
//*
//OUTCLASS SET OUTCLASS='*'
//CAUNZIP EXEC PGM=IKJEFT01,DYNAMNBR=10,REGION=0M
//PTFFILE DD DSN=&DSNPREF..SMPPTFIN,
//     DISP=(NEW,CATLG,DELETE),
//     SPACE=(CYL,(150,50)),
//     UNIT=SYSDA,VOL=SER=vvvvvv,
//     DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
//PTFHOLD  DD DSN=&DSNPREF..HOLDDATA,
//     DISP=(NEW,CATLG,DELETE),
//     SPACE=(CYL,(25,25)),
//     UNIT=SYSDA,VOL=SER=vvvvvv,
//     DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
//PTFTEXT  DD DSN=&DSNPREF..PTFTEXT,
//     DISP=(NEW,CATLG,DELETE),
//     SPACE=(CYL,(250,25)),
//     UNIT=SYSDA,VOL=SER=vvvvvv,
//     DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
//ZIPRPT   DD SYSOUT=&OUTCLASS,RECFM=FBA
//SYSTSPRT DD SYSOUT=&OUTCLASS
//SYSPRINT DD SYSOUT=&OUTCLASS
//STDOUT   DD SYSOUT=&OUTCLASS
//STDERR   DD SYSOUT=&OUTCLASS
//SYSTSIN DD *
CAUNZIP ZIPPATH(/your/USS/pathname) ZIPFILE(order#.zip) -
JAVAPATH(/your/java/path) -
NTS(N) -
TEMPHLQ()
/*
//

Attachments