I don't know if this is relevant, but I was looking at the PL/I DL/I (IMS) interface (PLITDLI) and noticed that they actually have to pass, as the first parameter, a fullword containing the remaining number of items! Crazy!
For example, in COBOL you say: call 'CBLTDLI' using ghnp, pcb-mask, i-o-area, ssa-1 ssa-2. In PL/I it looks like you'd do something like this: call PLITDLI (five, ghnp, pcb-mask, i-o-area, ssa-1 ssa-2); See here for more details: http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.ims11.doc.apg%2Fims_imsdbpliapp.htm I was pretty happy about what I learned about PL/I until I saw this. Yuck! 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

