× 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 Ryan wrote:

Here's one of the parms:

PARM       KWD(RECIPNAME) TYPE(*CHAR) LEN(256) +
             DFT(*NONE) SPCVAL((*NONE '')) MAX(10) +
             EXPR(*YES) PROMPT('Name of e-mail +
             recipient' 3)


I'm guessing that you have the parameters in the wrong order in the
program.  You have the second parameter for the PROMPT keyword; you have
to code the program parameters in the same order as you code them in the
command, not the order you see them when prompting.

Your CMD PARM and RPG data structure are fine.  (Although I'd use the I
type, not the B type, for the NbrFiles subfield.)

 *  Recipient Names.
D RecipNameDS     DS                  Qualified
D  NbrFiles                      5I 0
D  RecipName                   256A   Dim(10)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.