View previous topic :: View next topic
|
Author |
Message |
vikram gopalarathinam
New User
Joined: 28 Jan 2012 Posts: 8 Location: India
|
|
|
|
I have 3 programs
Main program -> Sub program 1 (static call from Mainprogram) which calls a another program ( It's a Dynamic call from subprogram1)
Initially I coded my requirmenent as a single program but I got space issue (S80A abend - Error during getmain for a module)
so I decided to split the program as I mentioned above splitted my main program in two, even then I am getting the same space abend. I have used Getmain and Freemain to solve this issue even that also not helps to me.
I will be realy happy if anyone suggest me how to solve this issue. Need to deliver this requirmenti n two days... |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
well, it is not a space abend as that relates to dasd.This relates to memory so what was your original REGION parameter set to and what other settings have you tried. How big is our load module? |
|
Back to top |
|
|
vikram gopalarathinam
New User
Joined: 28 Jan 2012 Posts: 8 Location: India
|
|
|
|
Hi,
I didnt code region parameter when I code the region parameter with Region=0M no records were written in the output file. so i removed the region parameter then I got some 27K policies were written in output file. I am not sure why it is like this and I am not sure how to see the length of my load module? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Program AMBLIST can tell you how big the load module is. Search the forum for details, or talk to your site support group.
And why on earth is this only becoming a problem two days before deadline? Allocation of memory for executing programs can be complex since there's 24-bit addresses, 31-bit addresses, 64-bit addresses, site restrictions, JES restrictions, and operating system interactions. For example, some sites limit memory allocation for jobs in certain classes, or do not allow REGION=0M, so your final solution almost certainly will require you talking to someone at your site who knows the restrictions in place at your site. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When talking with people who support your system, also mention which jobclass the job spacified. Once upon a time, many systems restricted the amount of memory a program could use by jobclass. |
|
Back to top |
|
|
|