View previous topic :: View next topic |
Author |
Message |
rkelley Beginner
Joined: 07 Feb 2018 Posts: 3 Topics: 1
|
Posted: Wed Feb 07, 2018 11:36 am Post subject: Using DFHPLT to enable/disable CICS transactions at startup |
|
|
IBM documentation states that you can Enable/Disable transactions at CICS region startup using the DFHPLT. But I cannot find an example. I know how to add programs to be executed in the PLT, but how to specify that a specific transaction is to come up Enabled or Disabled is something that I can't seem to find supporting examples.
Can anyone help or point me to some example documentation?
Thanks in advance... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Feb 07, 2018 11:58 am Post subject: |
|
|
rkelley,
Rusty knowledge, but give this a try
If the SIP has PLTSD=TD, then the following table is assembled as DFHPLTTD.
Code: |
DFHPLT TYPE=INITIAL,SUFFIX=TD
*
* The following TRANSACTIONS are disabled at CICS statup
*
DFHPLT TYPE=ENTRY,PROGRAM=your transaction pgm name1
DFHPLT TYPE=ENTRY,PROGRAM=your transaction pgm name2
....
DFHPLT TYPE=FINAL
END
|
_________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
rkelley Beginner
Joined: 07 Feb 2018 Posts: 3 Topics: 1
|
Posted: Wed Feb 07, 2018 2:33 pm Post subject: |
|
|
I believe that
DFHPLT TYPE=ENTRY,PROGRAM=your transaction pgm name1
DFHPLT TYPE=ENTRY,PROGRAM=your transaction pgm name2
will simply Execute the specified program, assuming these statements occur prior to a DELIM statement. I don't need the transaction executed, I need it either Disabled or Enabled...
Someone please correct me if I'm wrong...
Thx... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Feb 07, 2018 3:43 pm Post subject: |
|
|
rkelley,
I wasn't clear in my earlier response. Unless the transactions are started automatically at CICS PLT initialization time, you can automatically deactivate your desired transactions/programs if they are running by adding your transaction programs before the DFHDELIM in your CICS shutdown PLT table
So the next time you start up CICS these transactions wont be running. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
rkelley Beginner
Joined: 07 Feb 2018 Posts: 3 Topics: 1
|
Posted: Thu Feb 08, 2018 7:38 am Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
|
|