Previous Topic: The pax CommandNext Topic: Sample JCL


Create a Product Directory from the Pax File

The sample job Unpackage.txt simplifies the Pax-Enhanced ESD process; you can copy this JCL job directly to the mainframe.

Follow these steps:

  1. Enter the following JCL:
    //ESDUNPAX JOB (accountnumber),'UNPAX ESD PACKAGE ',
    // MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID
    //UNPAXDIR EXEC PGM=BPXBATCH,
    // PARM='sh cd /yourUSSESDdirectory/; pax -rvf paxfile.pax.Z'
    //STDOUT DD SYSOUT=*
    //STDERR DD SYSOUT=*
    
    accountnumber

    Specifies a valid JOB statement.

    yourUSSESDdirectory

    Specifies the name of the USS directory for your ESD downloads.

    Note: If the PARM= statement exceeds 71 characters after making these changes, uncomment and use the second form of UNPAXDIR in the sample JCL instead.

    paxfile.pax.Z

    Specifies the name of the pax file.

  2. Submit the job.

    The job runs and creates the product directory.