Yes agreed - if the logic is based on Message (message-id
or user-id) what you are saying is perfectly correct.
But from my experience the whole saga of setting a user-id
is a "can of worms" and frankly speaking I don't know what it achieves. Don't
take me wrong I did this in few sites but we lost the track of "final"
objective.
1) First of all in your scenario, ABCD transaction has to
"read" the message to interpret the message descriptor or
data, determine the user-id and then "somehow" has to put the
message back before it starts another application transaction. This
"somehow" may result into another trigger and so on. Or
secondly, move the message from MQ for good but save it in either DB2 or CICS
CMDT/UMDT tables, so that next transaction will have somewhere to look for in
case of recovery.
2) Most of important thing is to set any user-id the
current user-id of CKTI / ABCD should be "authorised" to do
so.
3) Critical question is what is this all for - is it for
accounting or security and audit trail on your databases. If you are translating
that to a real user-ids, there is NO non-repudiation and it is not easy to
"prove" the actual user is logged-on somewhere sometime to put the original
message. Unless one has a tight securities across entire MQ middleware
(not even allowing set identity context). If it is for accounting - how on earth
one is going to break down the CPU cost for CKTI and ABCD transactions
across various projects in the organisation.
So if this does NOT stand for any security audit and NOT
for any accounting - why does it need to be done.
This dilemma I have gone through as an Enterprise
Architect and didn't get any satisfactory solutions and I did as we
"normally" do in I.T industry - just ignore the core problem and continue
building some beautiful solutions.
I am interested to hear others experiences.
Cheers
Rao
ps: my apologies if it offends any "beautiful"
solution
developers From: Miller, Dennis [mailto:[EMAIL PROTECTED] Sent: 5 March 2004 6:48 AM To: [EMAIL PROTECTED] Subject: Re: MQ Triggering in CICS Wait...there's a very important distinction between
those two approaches that is being overlooked. CKTI processes the INITQ while
ABCD processes the triggered queue. Therefore, unless you radically alter
the CKTI design, CKTI can only change the userid on a per-queue basis, whereas
ABCD can change userid on a per-message basis.
Also,
with respect to option 2, the role of the TM is to start program
ABCD. Once ABCD gets started, the TM has been consumed and no
longer has a purpose; "losing it", if you want to call it that, is
inconsequential. Perhaps you mean to be concerned about losing a task
that was intended to process one of the messages on the triggered
queue. Depending on how robust you want the ABCD SIL to be, you may
want to provide a contingency for that. (Remember, a SIL is supposed to
process the queue until EMPTY). But even in the worst case scenario, if
the SIL quits prematurely, it would just re-trigger again and eventually find
the stranded message.
-----Original Message-----
From: Adiraju, Rao [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: Re: MQ Triggering in CICS This communication is confidential and may contain privileged material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email and delete the emails. Thank you. |
Title: Message
- Re: MQ Triggering in CICS Dawson, John
- Re: MQ Triggering in CICS Heggie, Peter
- Re: MQ Triggering in CICS Chase, John
- Re: MQ Triggering in CICS Heggie, Peter
- Re: MQ Triggering in CICS Adiraju, Rao
- Re: MQ Triggering in CICS Heggie, Peter
- Re: MQ Triggering in CICS Jxrgen Pedersen
- Re: MQ Triggering in CICS Chase, John
- Re: MQ Triggering in CICS Jxrgen Pedersen
- Re: MQ Triggering in CICS Miller, Dennis
- Re: MQ Triggering in CICS Adiraju, Rao
- Re: MQ Triggering in CICS Miller, Dennis
- Re: MQ Triggering in CICS Adiraju, Rao
- Re: MQ Triggering in CICS Heggie, Peter
- Re: MQ Triggering in CICS Miller, Dennis