|
Brad, once you get the hex value into a four-character CL field, you
then do this:
SNDRPY MSGKEY( &KEYVAR ) MSGQ( QSYSOPR ) RPY( 'G' ) +
RMV( *NO )
This sends a G to the message in question. The one example I have is
entirely CL, so I do a RCVMSG with KEYVAR, but the concept should be the
same.
On 8/20/2019 8:26 AM, B Stone wrote:
I am looking into the job apis and want to send a reply to a job in MSGWhttps://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/WMAttrDesc.htm
using SNDRPY.
The Message Key required on SNDRPY is 4 char, and so is the message key
returned from QUSRJOBI:
find
But, the 4 characters returned are basically garbage and I can only use
SNDRPY if I use the hex value of the key value vs the actual text value..
ie:
SNDRPY MSGKEY(x'00003E90') MSGQ(QSYSOPR) RPY('C') RMV(*NO)
works great..
SNDRPY MSGKEY('???°') MSGQ(QSYSOPR) RPY('C') RMV(*NO)
Doesn't work (obviously)
Am I required to use the hex value for SNDRPY? I haven't been able to
much at all on these values and how they are supposed to be used.ability
Thanks!
Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #15 <https://www.bvstools.com/mailtool.html>: The
to add a Footer to each email sent using an IFS stream file.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.