|
What am I missing?
* Program Status Data Structure D PSDS SDS D CPF_MSG 40 46 D Command S 3000 D CloseParens C ')' D Sbmjob_Pt1 C 'SBMJOB CMD(CALL PGM(XRPGMAIL) PARM('
D QUOTE C '''' D/Copy Qrpglesrc,Cmdexec D/copy qsource,XRPGMAILPR D/Copy Qrpglesrc,ZRPGMAILPR D ZRPGMAIL PI D From_PR 256 Const D To_PR 256 Const D Subject_PR 256 Const D Text_PR 256 Const *?+++++++++++++++++ M A I N L I N E C A L C S +++++++++++++++++ C Eval Command = Sbmjob_Pt1 + C Quote + %TrimR(From_PR) + Quote + C ' ' + Quote + %TrimR(To_PR) + Quote + C ' ' + Quote + %TrimR(Subject_PR) + Quote + C ' ' + Quote + %TrimR(Text_PR) + Quote +
C CloseParens + CloseParens C Eval CPF_MSG = 'CPF0000' C CallP(E) Cmdexec (Command: %Size(Command)) C*** CallP XRPGMAIL(From_PR:To_PR:Subject_PR:Text_PR) C Eval *INLR = *On
This is the copybook containing the PR
D ZRPGMAIL PR ExtPgm('ZRPGMAIL') D From_PR 256 Const D To_PR 256 Const D Subject_PR 256 Const D Text_PR 256 Const
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.