Will the QBNRPII api help? It was introduced in V5R3.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Rosinger
Sent: Thursday, October 25, 2007 9:35 AM
To: midrange-l@xxxxxxxxxxxx
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].