On Fri, May 30, 2014 at 12:04 PM, Cyndi Bradberry <CyndiB@xxxxxxxx> wrote:
Thanks for the ideas. We don't use the utility commands, this
is a custom generated email based off records in a physical file
set to happen during the midnight batch stream.
We know you don't use the utility commands, you said that up front.
But just because you "custom generate" something doesn't mean you have
to forgo using the commands.
All my e-mails are custom too. I still use the MMAIL commands
(calling them from RPG or CL or Python).
I'm not saying you should rewrite everything to use the commands.
But, as Scott suggested, you can try using a command to see if it
works. And if it does, you don't necessarily even have to
reverse-engineer the command to replicate what it does; you can simply
call the command directly from your program.
I'll grant that there may be things which are too complicated for any
of the MMAIL commands. (This was especially true years ago, when
there were a lot fewer commands provided.) Still, I get the feeling
many folks don't even know that the commands are there. Or they keep
forgetting about QCMDEXC. (And before anyone recommends QCAPCMD
instead, let me just say that if you're going that route, then the
convenience advantage of the commands over the service program is