MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IMS DC- Restore Screen variables...

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
techman
Beginner


Joined: 20 Jan 2006
Posts: 1
Topics: 1
Location: INDIA

PostPosted: Fri Jan 20, 2006 11:34 am    Post subject: IMS DC- Restore Screen variables... Reply with quote

Hi all,
I have a question in IMS DC.
Suppose I am populating the screen variables of a particular screen say ScrA and I need to throw a warning message intermediately and this I am doing by throwing a separate warning message screen ScrB. If I come back to the program after the user presses ENTER in the warning message screen,will the valuse that I had previously populated in the screen variables be there or not?

I know that this will not happen in CICS and we need a commarea. But what is the case of IMS DC? Your prompt info will be appreciated...

thanks,
techman.
Back to top
View user's profile Send private message Send e-mail
krishnankalpathi
Beginner


Joined: 31 Jan 2006
Posts: 1
Topics: 0
Location: chennai

PostPosted: Tue Jan 31, 2006 10:12 am    Post subject: IMS DC Reply with quote

You will lose all values on SCRA when you display SCRB and return to SCRA. There is no COMMAREA concept in IMS DC unless you make your program a CONVERSATIONAL type in which you can define a scratch pad area (SPA). You can store intermedaiate values in this and retrieve the values for SCRA.
Alternately you may store all values on SCRB as hidden fields .i.e those values on SCRA which you would like retained. When you throw the error , you display only the error field but you move all other values also to the SCRB so that when you come into the program you can retrieve those hidden values using the GU call to IOPCB. These values can then be used on SCRA.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group