MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using DFHPLT to enable/disable CICS transactions at startup

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
rkelley
Beginner


Joined: 07 Feb 2018
Posts: 3
Topics: 1

PostPosted: Wed Feb 07, 2018 11:36 am    Post subject: Using DFHPLT to enable/disable CICS transactions at startup Reply with quote

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


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Wed Feb 07, 2018 11:58 am    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rkelley
Beginner


Joined: 07 Feb 2018
Posts: 3
Topics: 1

PostPosted: Wed Feb 07, 2018 2:33 pm    Post subject: Reply with quote

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


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Wed Feb 07, 2018 3:43 pm    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rkelley
Beginner


Joined: 07 Feb 2018
Posts: 3
Topics: 1

PostPosted: Thu Feb 08, 2018 7:38 am    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group