Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference between receive and retrieve in CICS Assign

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Difference between receive and retrieve in CICS Assign
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: 3158
Location: Tucson AZ

PostPosted: Mon Jan 29, 2007 1:14 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us