On Thu, 10 Jan 2019 17:49:44 -0500, Cameron Conacher wrote: >Thank you Jerry. >Do I simply add a normal DD statement identifying my file? > >//MYFILE DD DSN=HLQ.MYFILE,DISP=OLD > DD may not work because java may run in a separate address space unless you have _BPX_SHAREAS=MUST. I'd concur with Matt's suggestion: "//‘hlq.my.mvs.filename'"
It's probably simpler if you eschew JCL and stay with UNIX commands. A possibility: cp "//‘hlq.my.mvs.filename'" /dev/fd/1 | java ... and reference the file as stdin or /dev/fd/0 (Is "export" allowed in STDENV?) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN