|
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 mailing list archive is Copyright 1997-2025 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.