haree_amrid Beginner
Joined: 21 Dec 2005 Posts: 9 Topics: 3 Location: INDIA
|
Posted: Thu Aug 03, 2006 4:44 am Post subject: Problem with the storage got by getmain command |
|
|
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 |
|