On Wed, 27 Feb 2013 17:49:37 +0000, Leonardo Vaz wrote:
>You are executing IEBGENER with parm "Parm DDlist", pretty much like in a JCL
>with the following card:
>// EXEC PGM=IEBGENER,PARM="Parm DDlist"
>
Actually not entirely like. This calls IEBGENER with R1 pointing to a
list of 2 fullwords. The first points to a halfword length followed by
the content of the Rexx variable PARM; the second has its sign bit
set and points to a halfword length followed by the content of Rexx
variable DDLIST.
>And IEBGENER is giving you a RC=12, because that's not valid.
>
Yes. But it might be valid if PARM contains a valid PARM for IEBGENER
amd DDLIST contains a valid alternate DdName list for IBM utilities,
as in:
Title: z/OS V1R13.0 TSO/E REXX Reference
Document Number: SA22-7790-10
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4a3a0/2.5.9.2
2.5.9.2 The LINKMVS and ATTCHMVS host command environments
...
address 'LINKMVS' prog 'PARM DDLIST'
... from which it appears to have been adapted. I do exactly this
when I need to. It works.
>-----Original Message-----
>From: IBM Mainframe Discussion List On Behalf Of saurabh khandelwal
>
> 328 *-* address LINKMVS "IEBGENER Parm DDlist"
> >L> "IEBGENER Parm DDlist"
> +++ RC(12) +++
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN