IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between PLT txn and scheduled txn


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sureshpathi10

Active User


Joined: 03 May 2010
Posts: 158
Location: Kuala Lumpur

PostPosted: Mon Jun 10, 2024 9:15 am
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1205
Location: Dublin, Ireland

PostPosted: Mon Jun 10, 2024 12:56 pm
Reply with quote

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
View user's profile Send private message
sureshpathi10

Active User


Joined: 03 May 2010
Posts: 158
Location: Kuala Lumpur

PostPosted: Mon Jun 10, 2024 12:59 pm
Reply with quote

The question I wanted to ask is, how to differentiate the execution of TRANS is triggered by PLT or START Command?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1205
Location: Dublin, Ireland

PostPosted: Mon Jun 10, 2024 1:11 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Pull data using date difference betwe... DB2 6
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
Search our Forums:

Back to Top