× 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.



Booth

Did you check the help for EXTPGM? Not even a right-click - position cursor on keyword and hit F1.

I don't think EXTPGM is valid on a MAIN procedure - it's for prototyping a call to a program vs a procedure.

Vern

----- Original Message -----
Oh gosh. I checked that with the DSPLY line of code and got the results
I expected. I did get "DSPLY No Parm" when I called the program with no
parm passed.

I don't doubt your comment; after all, why would IBM create *NOPASS if
it is ignored? In other words, more confusion for me at the elementary
level.

I had a further question, but it is probably not related to a
*ENTRY/PLIST conversion. Is the EXTPGM() keyword of use for converting
*ENTRY/PLIST?





On 6/20/2013 1:33 PM, Anderson, Kurt wrote:
Hi Booth,

You're close on your code. If the Parm1 field is truly optional, you would need the keyword Options(*nopass) on the parameter. As you have it now, Parm1 is always passed so %parms =1 will always be true.
...

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.