Message Queue

1780 pts.
Tags:
AS/400
AS/400 message queues
Message Queuing
Lets say a user "accidently" sends the wrong message to a user. How can an administrator go into that message queue while its being used and delete it. This can be done when the user is signed off but now while in use. A sensitive message was sent and it needed to be deleted. I told them not to use the 400 for that stuff but do they ever listen....  Thanks in advance.

Ron

 

Answer Wiki

Thanks. We'll let you know when a new response is added.

I don’t think you can by any conventional means. One of the messaging API’s at the info center may help though. You can find them at:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/mh1.htm

========================================================

A message queue may be allocated for *CHANGE (delete) to a single job at a time. Any number of jobs may (add) but only one can (delete).

Tom
========================================================

Anyway to transfer the controling job to the admin?

Ron

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Teandy
    Ron, You may want to look into a Break handling program. I have never used one but from what I understand, they will allow you to execute commands on behalf of the user. Here is a couple of sample programs I found that might help. http://www.dbg400.net/foswiki/bin/view/DBG400/BreakPgm#Message_Break_Handling_Program http://www.sentinex.com/mqbh.html You can fild more at: http://www.google.com/search?hl=en&q=%22Break+handling+program%22&aq=f&oq=&aqi=
    5,860 pointsBadges:
    report
  • TomLiotta
    Anyway to transfer the controling job to the admin? What OS version/release? Pre-V5R4, you could use STRSRVJOB with a TRCJOB *ON EXITPGM() command to set an exit program to run in the serviced job. At V5R4, the EXITPGM() parameter was made inoperative. And at V5R4, the Call Job Interrupt Program (QWCJBITP) API was made available as a way to make up for the TRCJOB change. In both cases, it takes some significant authority as well as some experience to use the facility well. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following