View previous topic :: View next topic
|
Author |
Message |
pav001
New User
Joined: 02 Nov 2005 Posts: 24
|
|
|
|
i am analyzing a program where after doing an ASSIGN to get some value the program is using either EXEC CICS RECEIVE or EXEC CICS RETRIEVE to get data based on the valuw got from ASSIGN. What is the difference between receive and retrieve? When are these used?
TIA,PAV! |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Quote: |
The RETRIEVE command retrieves data stored by expired START commands. It is the only method available for accessing such data. |
Quote: |
The RECEIVE command is used by all CICS-supported terminals for which the other RECEIVE descriptions are not appropriate. |
The assign is probably to determine if this execution of the transaction is currently started from a terminal or by a start command. Both commands get the information that the trans was started with but from different locations. |
|
Back to top |
|
|
|