Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Questions out of curiosity

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
kratos

New User


Joined: 02 Jul 2010
Posts: 5
Location: India

PostPosted: Wed May 25, 2011 9:38 am    Post subject: Questions out of curiosity
Reply with quote

Hi,

I have been working for some time with a new client. Most of the questions I have asked are because the setup here is very different than at my previous place. Another reason being that I don't even know where the system guys sit. Besides my manager is not going to trouble his counterparts on the systems side just to clear my doubts, none of these hamper my work in any way.

Ok so here goes

1. We don't initiate a transaction by entering the transaction id but rather a 6 character function name. If I enter the transaction id then an error message "incorrect function name" pops up on the screen. So this would mean that there is some program that is always running and reads the functions off the screen and invokes what ever transaction it corresponds to. To check this I coded INVOKINGPROG in one of the CICS programs I was working on but it did not return any program name. Any ideas on how this can be done. I just want to understand the basic method so that I know how things work (no in-depth information required).

2. No RETURN TRANSID is done after sending the MAP. Instead all the data in the linkage section is written to a TSQ before doing a simple RETURN after sending the MAP. This TSQ (which has the same name as that of the TERMID) is read in the beginning of the program to reload the linkage-section. Now the question I have is how does the transaction get triggered (again) when the user presses any PF keys?

Any directions on how to (where to) read about these would be great. I agree knowledge of these would not be of much use to an application programmer but things like these have made me question stuff I thought would be the standard everywhere.

TIA!GB
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Wed May 25, 2011 10:45 am    Post subject: Reply to: Questions out of curiosity
Reply with quote

when defining a terminal it is possible to assign a <permanent> transaction code as described here

http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/eyuac/eyuac5h.htm

Quote:
Transaction
specifies a 1-to 4-character name of the transaction that is to be initiated each time input is received from the terminal when there is no active task.
specifies the name of the TYPETERM definition to be associated with this TERMINAL definition. The name can be up to eight characters in length.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed May 25, 2011 5:00 pm    Post subject: Reply to: Questions out of curiosity
Reply with quote

Although it might be a bit laborious, if you place your terminal under CEDF, you can walkthru all the relevant CICS API's for a given transaction.

Sometimes when documentation is not available or non existent, CEDF will give you a better picture of the entire task and its elements, rather than resorting to a "SWAG".

You have to start somewhere.... icon_wink.gif

Bill
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Wed May 25, 2011 5:06 pm    Post subject: Reply to: Questions out of curiosity
Reply with quote

Quote:
You have to start somewhere...

Usually the manual is the best starting point icon_wink.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us