BPXWDYN and the Internal Reader (INTRDR)

2009-06-30 Thread Terry Sambrooks
Hi Folks, I am in need of some direction from this august body. As a bit of fun I am trying to mimic the TSO SUBMIT command available in REXX, by using BPXWDYN in a COBOL program to dynamically allocate an FTINCL output file and write it to the internal reader. The first BPXWDYN to allocate the

Re: BPXWDYN and the Internal Reader (INTRDR)

2009-06-30 Thread Elliot, David
1:19 PM To: IBM-MAIN@bama.ua.edu Subject: BPXWDYN and the Internal Reader (INTRDR) Hi Folks, I am in need of some direction from this august body. As a bit of fun I am trying to mimic the TSO SUBMIT command available in REXX, by using BPXWDYN in a COBOL program to dynamically allocate an FTINCL

Re: BPXWDYN and the Internal Reader (INTRDR)

2009-06-30 Thread Paul Gilmartin
On Tue, 30 Jun 2009 13:42:23 -0500, Elliot, David wrote: Would a SYSOUT status keyword do the job? ALLOC FI(JOBOUT) SYSOUT(x) WRITER(INTRDR) MSG(2 Indeed. Absent SYSOUT, I get: u...@mvs:134$ rexx say bpxwdyn( 'ALLOC FI(JOBOUT) WRITER(INTRDR) MSG(WTP) reuse' ) 12.54.00 STC07716 IKJ56877I

Re: BPXWDYN and the Internal Reader (INTRDR)

2009-06-30 Thread Steve Comstock
Terry Sambrooks wrote: Hi Folks, I am in need of some direction from this august body. As a bit of fun I am trying to mimic the TSO SUBMIT command available in REXX, by using BPXWDYN in a COBOL program to dynamically allocate an FTINCL output file and write it to the internal reader. Do you

Re: BPXWDYN and the Internal Reader (INTRDR)

2009-06-30 Thread Terry Sambrooks
Hi, Thanks for the prompt responses, my problem is now resolved. SYSOUT was indeed missing as having read the Using REXX and USS manual there was an implication that WRITER replaced SYSOUT on the ALLOC statement. My second problem was exactly has Steve pointed out. I had omitted the half word