Yes, dynamically allocated

On 2021-10-11 15:10, Carmen Vitullo wrote:
is  the DD for MY.PAX dynamically allocated ?

I've never wrote to a MVS datasets using pax

Carmen


On 10/11/2021 1:03 PM, David Spiegel wrote:
Hi,
I am trying to PAX and TRS a zFS.

When I run a Step to PAX followed by a Step to TRS, I get:
pax: //'MY.PAX': EDC5061I An error occurred when attempting to define a file to the system.
(I tried TAR and got the same result.)
When I run the PAX in one job and the TRS in another job, it works.
Has anyone seen this behaviour? (I'm on z/OS V2.4)

Here is the JCL:
//STEP001 EXEC PGM=BPXBATCH
//STDOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDPARM  DD  *
SH pax -wzvf  "//'MY.PAX'" /src/
//STEP002 EXEC PGM=AMATERSE,PARM=SPACK
//SYSPRINT DD  SYSOUT=*
//SYSUT1   DD  DISP=SHR,DSN=MY.PAX
//SYSUT2   DD  DISP=(,CATLG),
//             UNIT=SYSALLDA,
//             DATACLAS=DCZFSEXT,
//             STORCLAS=SCZFSEXT,
//             SPACE=(CYL,(1000,500),RLSE),
//             RECFM=FB,LRECL=1024,BLKSIZE=27648,
//             DSN=MY.PAX.TRS

Thank you in advance.

Regards,
David

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to