IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Space problem


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vikram gopalarathinam

New User


Joined: 28 Jan 2012
Posts: 8
Location: India

PostPosted: Mon May 28, 2012 11:15 am
Reply with quote

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. icon_sad.gif

I will be realy happy icon_biggrin.gif if anyone suggest me how to solve this issue. Need to deliver this requirmenti n two days... icon_sad.gif icon_exclaim.gif
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Mon May 28, 2012 11:25 am
Reply with quote

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
View user's profile Send private message
vikram gopalarathinam

New User


Joined: 28 Jan 2012
Posts: 8
Location: India

PostPosted: Mon May 28, 2012 11:57 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon May 28, 2012 12:07 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue May 29, 2012 12:00 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
No new posts Job scheduling problem. JCL & VSAM 9
Search our Forums:

Back to Top