What about the ASMA90 program? It can be invoked via JCL and process the PARM=. 
But it can also be LINK'd to or ATTACH[X]'d. In this latter case, The parmlist 
passed in via GPR1 can have more than one entry. The others are for things like 
overriding DD names. Many of IBM's utilities (such as IDCAMS) use this 
facility. I have written a program which invokes IDCAMS and redirects the 
"SYSIN" and "SYSPRINT" DD statement to a subroutine in my code so that I could 
send a command to IDCAMS and then get the result back, in order to futher 
process it.

-- 
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Bernd Oppolzer
> Sent: Wednesday, April 18, 2012 3:32 AM
> To: [email protected]
> Subject: Re: PL/I with variable PLISTs (was: LE C calling HLASM)
> 
> Why? I don't understand this comment, because JCL parm is always only 
> one parm;
> no variable length address list ... what do I get wrong? 
> Well, the JCL 
> parm itself has
> variable length, but the length of the address list is fixed, always 
> one. And: I dont know
> if the system sets the high order bit of the address of the 
> JCL parm - I 
> just don't care.
> 
> Kind regards
> 
> Bernd
> 
> 
> 
> Am 18.04.2012 01:06, schrieb Shmuel Metz (Seymour J.):
> > 
> In<[email protected]>,
> > on 04/11/2012
> >     at 12:32 PM, "McKown, 
> John"<[email protected]>  said:
> >
> >> Given all the above facts, I wonder if it is time to abandon, in
> >> our own code, the practice of indicating end-of-list by setting
> >> the high order bit of the last parameter to '1'b.
> > Perhaps for new subroutines, but certainly not for anything intended
> > to be invoked from JCL.
> >
> 
> ----------------------------------------------------------------------
> 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

Reply via email to