View previous topic :: View next topic
|
Author |
Message |
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
Hi All,
I am new to CICS.
What i have learned from the manual that START transaction is used to
invoke a background trnsaction mostly.
In one of CICS program, if EIBCALEN=0(First invocation) then START command is been used but in most of the CICS program what i have noticed that in the first invocation SEND command is been used.
So what is the exact diffrence between START and SEND and in what cases START beed used? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
What i have learned from the manual that START transaction is used to
invoke a background trnsaction mostly. |
You need to find a better manual -- the START command is MOSTLY used to start terminal-based transactions when running in pseudo conversational mode.
START is used to start a transaction.
SEND is used to send data -- to a terminal, among other choices. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
What i have learned from the manual that START transaction is used to invoke a background trnsaction mostly. |
Which manual has this? |
|
Back to top |
|
|
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
coding a START command for the first time invocation in the application program is equal to SEND command?
In this scenario will START send both physical and symbolic maps to gether?
Sorry if I am not clear..am totally confusing when START command needs to be used in an application program? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
coding a START command for the first time invocation in the application program is equal to SEND command? |
Absolutely not.
The CICS support person defines a transaction that is executed from a terminal by keying the 1-to-4 characters of the transaction name. This transaction invokes a program, which is also defined by the CICS support person. That program usually checks to see if this is the first time through the program at this terminal (testing EIBCALEN = 0 is a good way to do this), sends a map to the screen, and returns to CICS with an initial transaction of itself and a DFHCOMMAREA (so EIBCALEN will not be zero). If the program does not send a map, there are other ways to get data from the screen into the program -- but the program controls whether or not a map is sent, received, or whatever.
So START and SEND are not at all related (other than both being CICS commands) -- as you have been told more than once now. |
|
Back to top |
|
|
|