CAUNZIP failing when processing paxfile
search cancel

CAUNZIP failing when processing paxfile

book

Article ID: 269953

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

I have downloaded a product paxfile and when trying to run CAUNZIP receive the following:

CAZIP16E: Shell Command export PATH=/usr/lpp/java/J8.0_64/bin:$PATH;cd /u/user/productx/;jar -tvf /u/user/productx/PRODUCT.INSTALL.pax.Z failed with RC=1.
CAZIP16E:  java.util.zip.ZipException: error in opening zip file

Cause

The pax command should be utilized to process a product installations paxfile.

Resolution

 The product documentation provides instructions on using the pax command and also provides sample batch JCL...

//ESDUNPAX JOB (ACCOUNTNO),'UNPAX PAX FILE', // MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID
//*********************************************************************
//* This sample job can be used to invoke the pax command to create *
//* the product-specific installation directory. *
//* *
//* This job must be customized as follows: *
//* 1. Supply a valid JOB statement. *
//* 2. Replace "yourUSSpaxdirectory" with the name of the USS *
//* directory used on your system for pax file downloads. *
//* 3. Replace "paxfile.pax.Z" with the name of the pax file. *
//* NOTE: If you continue the PARM= statement on a second line, *
//* start entering characters in column 16 and make sure *
//* the 'X' continuation character is in column 72. *
//*********************************************************************
//UNPAXDIR EXEC PGM=BPXBATCH,
// PARM='sh cd /yourUSSpaxdirectory/; X
// pax -rvf paxfile.pax.Z'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*

 

Additional Information

Acquire the Product Pax File

Create a Product Directory from the Pax File