I'm trying to send a message longer than 76 characters to a user from a RPG
program running in batch.

SNDMSG is limited to 76 characters that will display in the user's message

I thought SNDPGMMSG TOUSR() MSGTYPE(*INFO) would be an option, but
apparently this isn't allowed in RPG, although it was submitted to run in
batch. CPD0031 "Command SNDPGMMSG not allowed in this setting."

The API for SNDPGMMSG, QMHSNDPM does not appear to have an option to send a
message to a user, even though SNDPGMMSG has the TOUSR parameter. Am I
missing something?

Also tried QEZSNDMG, but that sends a message to every workstation to which
the user is signed on. That would be a last resort.

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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