I wonder if this would work:
declare THEFUNCTION entry returns(fixed bin) options(nodescriptor, linkage(system), fetchable); result = THEFUNCTION(magic, parm1, parm2); result = THEFUNCTION(magic, parm1, parm2, parm3, parm4); Frank ----- Original Message ----- > From: Phil Smith <[email protected]> > To: [email protected] > Cc: > Sent: Tuesday, April 10, 2012 1:54 PM > Subject: Re: PL/I with variable PLISTs (was: LE C calling HLASM) > > Steve Comstock wrote: >> Yes. But that's Assembler. I thought the called routine >> was C, and you were testing the parms passed in the C >> routine. Is that not true? Are there more layers here? > > Yes, there are lots of layers, it's a mixture of assembler and C, sorry. The > point is, we're confident that the description of the behavior we've > seen is as described (we have XDC, too, so can see some of it). it's very > strange-as if nobody at IBM ever really tried to use variable plists with > PL/I! > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

