View previous topic :: View next topic
|
Author |
Message |
kratos
New User
Joined: 02 Jul 2010 Posts: 5 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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....
Bill |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
You have to start somewhere... |
Usually the manual is the best starting point |
|
Back to top |
|
|
|