On 20 Mar 2007 12:24:46 -0700, [EMAIL PROTECTED] (Veilleux, Jon L) wrote: >You can use OCOPY to send it to SYSOUT similar to this job which issues >'java fullversion' then copies the output to SYSOUT: > >//JESSTEP EXEC PGM=BPXBATCH,REGION=8M, >// PARM='SH java -fullversion' >//STDOUT DD PATH='/tmp/test.out',PATHOPTS=(OWRONLY,OCREAT) >// EXEC PGM=IKJEFT01 >//SYSTSIN DD * > PROFILE NOPREFIX > OCOPY INDD(STDIN) OUTDD(SYSOUT) TEXT >//STDIN DD PATH='/tmp/test.out',PATHOPTS=(ORDONLY) > >//SYSOUT DD SYSOUT=*, >// DCB=(LRECL=133,BLKSIZE=133,RECFM=F) >//SYSTSPRT DD SYSOUT=*
I'm going to have to find this documentation. Maybe I'm getting this because of the earlier problem with the [] being mis-translated. (f x'ad' and f x'bd' find these). READY PROFILE NOPREFIX READY OCOPY INDD(STDIN) OUTDD(SYSOUT) TEXT RETURN CODE 0000006F, REASON CODE 00000004. AN ERROR OCCURRED DURING THE OPENING OF HFS FILE /tmp/test.out. READY END ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html