On 4/18/2013 5:58 PM, Stone, Joel wrote:
Thanks Vern. But I made the length 502 and still see the same error
- CPD0162 "Parameters do not match those in program SET_ENVR".


When I tried your command and the 4-parameter version of your CL, it worked fine. v5r4.

I hardcoded my program to just do

chgvar &dblib 'hello'

In my test program, I coded the dblib parameter on the command.

dcl &x type(*char) len(10)
testcmd dblib(&x)
sndpgmmsg &x

and &x got set to 'hello'.

Maybe you have another version of the old program or command in the library list?


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.