× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.