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



Are you suggesting that the first executable lines of the CL include a
global MONMSG, much like:
PGM (&PARM1 &PARM2)
DCL &PARM1 *CHAR 10
DCL &PARM2 *CHAR 10
MONMSG MSGID(CPD0000 CPF0000 MCH0000) EXEC(GOTO CMDLBL(ERRORHDLR))
/* Body of program here */
SNDMSG MSG(COOL) TOUSR(*REQUESTER)
GOTO END
ERRORHDLR:
CHGJOB LOG(4 0 *SECLVL) LOGCLPGM(*YES)
DSPJOBLOG OUTPUT(*PRINT)
DSPJOB OUTPUT(*PRINT)
DMPCLPGM
END:
ENDPGM

On a mismatched parameter would this even get to that executable line?
When I test it from the command line with different sizes it executes the
SNDMSG as if there was no error. I suspect the interface from Domino to
the i is more stringent. If I only send one parameter from the command
line it doesn't start the program. It aborts with: CPD0172 - Parameters
passed on CALL do not match those required. Never executes a line.


Rob Berendt

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.