How many ways can we initiate a CICS Transaction?

All sort of Mainframes Interview Questions.
Post Reply
Ajayk Mathur
New Member
Posts: 3
Joined: Tue Jun 09, 2015 10:39 am

How many ways can we initiate a CICS Transaction?

Post by Ajayk Mathur »

The question I was is, how many ways can we initiate a CICS Transaction? Can you list them?

My answer:
  • 1. Keying in the Transaction-id at the terminal
    2. By coding the transaction id in the EXEC CICS return command
    3. By associating the attention key with the PCT
But interview said that there are more ways of doing it. Can you please suggest a full list of option to know how many ways can we initiate a CICS Transaction?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How many ways can we initiate a CICS Transaction?

Post by Robert Sample »

4. You can code EXEC CICS START in a program
5. You can create an entry in the PLT to start a transaction during CICS startup or shutdown
6. You can associate a transaction with a TDQ trigger
7. You can use one of the batch interfaces (EXCI, FEPI) to invoke a transaction
8. You can connect through APPC and start a transaction from a remote system

There are probably other ways to invoke a CICS transaction but those are the ones off the top of my head.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: How many ways can we initiate a CICS Transaction?

Post by zprogrammer »

9. I use IEFBR14 to initiate a transaction
zprogrammer
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: How many ways can we initiate a CICS Transaction?

Post by nicc »

On the grounds that IEFBR14 does not do anything except return with an RC of 0 I guess that what you are doing is actually submitting a job with some

Code: Select all

 // COMMAND
statements in it and, thus, it could be any program being executed not just IEFBR14.
Regards
Nic
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: How many ways can we initiate a CICS Transaction?

Post by zprogrammer »

Hi Nicc Agreed
Also Initiating transactions this way should be handled carefully as the transactions get intitiated before the rest of the job completes

Hence I would suggest to use these COMMAND in discrete job
zprogrammer
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”