View previous topic :: View next topic
|
Author |
Message |
sureshpathi10
Active User
Joined: 03 May 2010 Posts: 158 Location: Kuala Lumpur
|
|
|
|
Hi Team,
We have a transaction to be executed every hour. So this will be triggered first time by PLT during CICS up and once executed, it will START itself with INTERVAL. Its been running good.
Now I've been asked by admin to "NOT PROCESS" anything during CICS UP, just trigger next run and finish. So that it will not hold any CICS UP time.
The question I wanted to ask is, how to differentiate the execution of TRANS is triggered by PLT or START Command?
I've referred ASSIGN STARTCODE, I'm not if the value of start code will be different. Could you guys help me on this. (I can try to display the value of STARTCODE during CICS UP but CICS refresh happens once a week. Unable to spare a week time).
If you have any other way of find out the difference of the trigger, also will be helpful.
Any help is greatly appreciated. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Have the PLT program issues EXEC CICS START TRANSID(transid) AFTER MINUTES(x) to allow time for CICS to finish initialisation. Then, the started transaction can loop, issuing a start of itself every hour. If this needs to be on the hour or a specific time, this can be calculated in the started transaction.
Alternatively, if your shop allows, have automation detect the DFHSI1517 message and issue the start for the transaction.
Garry. |
|
Back to top |
|
|
sureshpathi10
Active User
Joined: 03 May 2010 Posts: 158 Location: Kuala Lumpur
|
|
|
|
The question I wanted to ask is, how to differentiate the execution of TRANS is triggered by PLT or START Command? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
sureshpathi10 wrote: |
The question I wanted to ask is, how to differentiate the execution of TRANS is triggered by PLT or START Command? |
You can't differentiate between transactions triggered by EXEC CICS START during PLT processing and those triggered by other non-terminal programs. If your automation issues the initial START, then that will be a terminal transaction and STARTCODE will be different.
I assume that your PLT program is simply issuing EXEC CICS START to trigger and not doing any other processing?
Garry. |
|
Back to top |
|
|
|