|
From: Tony C <amc@xxxxxxxxxxxxxx>warnings/erros,
To: wdsci-l@xxxxxxxxxxxx,
Date: 2012-09-30 13:46
Subject: Re: [WDSCI-L] MMAIL commands in RDP 8.5
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
In article <mailman.3410.1348541423.2683.wdsci-l@xxxxxxxxxxxx>,
amc@xxxxxxxxxxxxxx says...
Anyone using MMAIL commands in RDP 8.5 editor ?
When I use an MMAIL command (like EMLSTMF) in a CLLE source member in
RDP 8.5 and try to prompt the command with F4, it always fails with a
message "EVECL0001E: java.lang.NullPointerException"
Also, if I try to edit a CLLE member that contains a valid EMLSTMF
command, the editor will often include incorrect EVFCL0020
warnings/errors within the command. Regardless of these
isthe member will still compile correctly.
So my question is, do I have a problem with my particular install or
this a problem that others are experiencing as well.
Thanks
Tony C
I found the problem, it's with RDP 8.5
The following cut down command (based on an MMAIL command) prompts
perfectly in RDP 8.5, however, once the lengths of name and email exceed
48 characters, the prompt in RDP fails.
As lots of MMAIL commands use this type of structure with lengths of 50
for name & email, so they all fail to prompt in RDP.
bummer....
Here is the command the prompts ok :-
CMD PROMPT('E-mail simple message')
PARM KWD(TO) TYPE(QUAL1) MIN(1) MAX(50) +
PROMPT('Recipients')
QUAL1: QUAL TYPE(*NAME) LEN(10) RSTD(*YES) DFT(*TO) +
SPCVAL((*TO 0) (*CC 1) (*BCC 2))
QUAL TYPE(*CHAR) LEN(48) MIN(1) PROMPT('''name''')
QUAL TYPE(*CHAR) LEN(48) MIN(1) PROMPT('''e-mail +
address''')
increase name and email beyond 48 chars & it fails.
regards
Tony C
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
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.