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 

Problem with the storage got by getmain command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
haree_amrid
Beginner


Joined: 21 Dec 2005
Posts: 9
Topics: 3
Location: INDIA

PostPosted: Thu Aug 03, 2006 4:44 am    Post subject: Problem with the storage got by getmain command Reply with quote

Hi all,
In my program I am using GETMAIN command to get the memory area for the Output record layout for sending the Output to COMMAREA. So after the execution of the program the Output is passed to the commarea by the pointer used for getting the address for the Output layout.
The problem is the if I am initializing the Output record layout after the getmain command, the middle ware is sending some Junk values to the front end(Borland C), but if I put display of the Output layout in the program while execution the display is showing the proper values. And If I am not initializing the Output record layout in the program the middleware is sending Output properly to the front end.
So my doubt is that can we Initialize a variable for which we are getiing the memory address through the GETMAIN command. Is there any restriction for these type of variables.
[/b]
It will be helpful if any one can provide some solution for this query.
_________________
With Regards,
Hareesh Amrideswaran
Back to top
View user's profile Send private message
js01
Beginner


Joined: 13 Oct 2005
Posts: 84
Topics: 32
Location: INDIA

PostPosted: Thu Aug 03, 2006 1:32 pm    Post subject: Reply with quote

I think you can use INITIMG option to intialize the area on GETMAIN command.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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