|
Sorry, Maybe i was a bit misleading. The chgmsgq cmd details are under F1(help) here they describe the parms passed to the BreakPgm. Break handling attributes (PGM) - Help o Message queue name (10 characters). The name of the message queue to which the message was sent. o Library name (10 characters). The name of the library containing the message queue. o Message reference key (4 characters). The reference key of the message sent to the message queue. Im on V4R5. Ian. -----Original Message----- From: James W. Kilgore [mailto:eMail@James-W-Kilgore.com] Sent: Wednesday, 26 September 2001 1:37 To: midrange-l@midrange.com Subject: Re: UPS & AS/400 talking to each other Ian, I just tried a CHGMSGQ command and don't see the option you mention. I tried at V3R2 and V4R3. Never tried this with a user msgq. In the section where you would place your code, we have a plain old SNDMSG to echo the message to the lucky person on call. Ian Scotson wrote: > > Thks for this code snippet.. > The Brkmsg options talk about a 4 char KeyVar being passed. > Where does this figure in your code, and how does this > get translated to the 7 byte msgid for compare/lookup? > > Also, > > If i were to instigate this code on general usermsgQ's > (like my own ) with an email program attached to send > the details, are there any obvious gotcha's or limitations > to watch for? > _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.