Re; BPXWDYN and the Internal Reader

2009-07-01 Thread Jim Holloway
Terry, I believe that your problem may be in not specifying lrecl. This Rexx snippet shows how I code the BPXWDYN call to send an email to SMTP via the internal reader and then off to the corporate mail servers... Works every time. if bpxwdyn("alloc fi(out) sysout(A) WRITER(SMTP) lr

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 pr

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 m

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 IKJ568

Re: BPXWDYN and the Internal Reader (INTRDR)

2009-06-30 Thread Elliot, David
Would a SYSOUT status keyword do the job? ALLOC FI(JOBOUT) SYSOUT(x) WRITER(INTRDR) MSG(2 Just a guess. David Elliot zSeries Software Support -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Terry Sambrooks Sent: Tuesday, June 30, 2009 1