Return code of 2304 when attempting to UNPAX a file (bpxbatch)
search cancel

Return code of 2304 when attempting to UNPAX a file (bpxbatch)

book

Article ID: 219174

calendar_today

Updated On:

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

Running BPXBATCH to unpax a product pax file.

//UNPAX1   EXEC PGM=BPXBATCH,                                  
// PARM='sh cd /var/smptemp/TEST/; pax -rvf DVD03135507E.pax.Z'
//STDOUT DD SYSOUT=*                                           
//STDERR DD SYSOUT=*                                           

 

This job ends with a 2304 return code.

IEF142I UBSDCS99 UNPAX1 - STEP WAS EXECUTED - COND CODE 2304

Cause

insufficient region size specified on jobcard and/or individual job step(s)

Resolution

Increased REGION size on job or specify REGION=0M to resolve.

Additional Information

Other general things to check...

  1. The DVD03135507E.pax.Z file is good.
    • Was downloaded/transferred as binary
    • Is it complete? Check size.
  2. The filesystem has enough space to unpax file
  3. Permissions to update/create directories in the filesystem.
  4. Check syslog when batch job is run for messages
  5. Can the file be manually unpaxed? Issue the pax command directly from OMVS...
cd cd /var/smptemp/TEST/
pax -rvf  DVD03135507E.pax.Z