Michael,

How about DMPCLPGM?



Thanx,

Nick



Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx



"Michael Rosinger" <mrosinger@xxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
10/25/2007 11:34 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
midrange-l@xxxxxxxxxxxx
cc

Subject
how to expose parameter list+values in called CL...






List,

I've already bounced this off some knowledgeable contacts and have not
gotten any hopeful response. I thought I would throw this out here to see
if
someone listening knows.

We would like to expose (display and/or print) the parameter list that is
passed to a CL program at run-time.What would be really slick is if they
could presented in the format of &variable = value for each parameter in
the
parameter list.

For example, if the CL header looks like this:

PGM PARM(&INFILE &PARMMBR &RDAY &CLERROR)

And that program is executed like this:

CALL PGM(clprogram) PARM('TEST' 'DMS200' '3' 'N')

Then at execution time, I'd like to be able to get something like this:

&INFILE='TEST' &PARMMBR='DMS200' &RDAY='3' &CLERROR='N'


Anyone know of a way to do this? I am really after a generic way of doing
this from most of our CL. Any suggestions will be appreciated!


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].