On Wed, 6 Jan 2016 14:03:36 -0600, John McKown wrote: >On Wed, Jan 6, 2016 at 1:40 PM, Charles Mills wrote: > >> > One of these days, I will looking into write a >> > program for IRXJCL which allows "in line" REXX code. >> >> Have not fully thought this through but couldn't you do it as a PROC that >> copied inline Rexx into a temporary PDS and then ran it with IRXJCL? > >​Many do this. I do it myself. But it is a "kludge" in my no-so-humble >opinion. But it is why this is not a big thing for me to do. If I do, I'll >put it up on the CBTTape.org site. > >> Kind of an unfortunate restriction on IRXJCL that it requires a PDS and a >> member name. Presumably would not have been terribly difficult for it to >> have supported a sequential dataset. >> A fiendish hacker (not I) has discovered an alternative, not documented, not supported. If you execute IRXJCL with 8X'00' as a member name it takes SYSEXEC (which may be instream) as PS. Somewhat inferred from the documented Rexx API where identical invocations distinguish between PS and PDS member solely by the member name's being zeroes. I think it does only one CLI to decide.
Of course, using a PS SYSEXEC precludes any library Rexx calls. I rather execute IKJEFTfoobar with SYSTSIN starting with one or more REPROs to copy instream EXECs to a temporary DS as SYSEXEC to which I then concatenate my Rexx utility function library. There's also an API for Rexx EXEC text in storage; no data set needed. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
