Have you tried running PGM=BPXBATCH instead and run the exec as a UNIX script? You would need to place the exec in a UNIX file and change ALLOC to BPXWDYN.
As for the truncation error, have you tried changing the dataset's attributes (LRECL, BLKSIZE and RECFM)? Jon Perryman. >________________________________ > From: "van der Grijn, Bart (B)" <bvandergr...@dow.com> > > >> I think you can make a single change to your REXX program >> >> paxRC=bpxwunix(wCMD,,"DD:PAX",stderr.) > >I tried that. In my original note: >> (I also tried it by specifying a ddname in the bpxwunix call instead of >> the stdout., but got a truncation error. I suspect that's because it >> exceeded the 2048 limit) >More specifically: > > > >O> "ALLOC DD(PAX) DSN('PSUSS.INTR.KD6BXS.USRSAP.A') OLD release" > 319 *-* paxRC = bpxwunix(wCMD,,"DD:PAX",stderr.) > >V> "pax -w -X -z -x pax /sap/D6B" > >L> "" > >L> "DD:PAX" > >L> "STDERR." >DD:PAX truncation: rc=16 >Line too long > >The Usage note for BPXWUNIX: >STDOUT lines cannot exceed 2048 characters. > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN