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

Questions out of curiosity


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 25, 2011 10:45 am
Reply with quote

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

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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed May 25, 2011 5:00 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 25, 2011 5:06 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Curiosity General Talk & Fun Stuff 4
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top