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

Difference between receive and retrieve in CICS Assign


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pav001

New User


Joined: 02 Nov 2005
Posts: 24

PostPosted: Mon Jan 29, 2007 10:25 am
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jan 29, 2007 1:14 pm
Reply with quote

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
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 Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top