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

Insufficient Storage


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
neo4u

New User


Joined: 03 Oct 2016
Posts: 10
Location: India

PostPosted: Fri May 12, 2023 10:13 pm
Reply with quote

Hi,

I am running into insufficient storage when I run a job. I am trying to find out if it's because of repeated load of storage without unloading. My main program is written in PLI and does call many other subprograms. I do not see any FETCH which means all my subprograms are statically linked. The problem is that many of those subprograms also has others and the list goes on..

I am not sure how can I determine if one of these subprograms are loaded and not unloaded which causes insufficient storage. Can someone here tell me how to find?
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 1776

PostPosted: Sat May 13, 2023 12:36 am
Reply with quote

Trace the execution of your code to find out where you've got out of memory.

Abstract guessing will not help. Especially when one does not understand the relations between the things in computer world.
Back to top
View user's profile Send private message
neo4u

New User


Joined: 03 Oct 2016
Posts: 10
Location: India

PostPosted: Sat May 13, 2023 10:53 pm
Reply with quote

How do I trace the execution?
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 1776

PostPosted: Sun May 14, 2023 12:21 am
Reply with quote

neo4u wrote:
How do I trace the execution?

Please clarify: what do you know about computer programming and debugging? About computer and software architecture? Something about computers and programming at all?
Back to top
View user's profile Send private message
neo4u

New User


Joined: 03 Oct 2016
Posts: 10
Location: India

PostPosted: Sun May 14, 2023 8:52 am
Reply with quote

I thought this was a forum to help members. If you can't help someone why bother reply?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10856
Location: italy

PostPosted: Sun May 14, 2023 1:29 pm
Reply with quote

if You want help you have to ask meaningful questions ...

what message did you get when the problem happened?

the answers you will get depend on rhe message you received,

most of the time searching/reading the messages and codes manuals
you will be able to solve the problem by yourself, just following the actions
suggested by the manual.

so ... as a GOOD starting point post the message you received
probably more than one
Back to top
View user's profile Send private message
neo4u

New User


Joined: 03 Oct 2016
Posts: 10
Location: India

PostPosted: Sun May 14, 2023 5:54 pm
Reply with quote

Hi Enrico,

I am getting IEW4000I and CEE0813S while executing a pli program. I know my module size is around 4M and my region param is also 4M. I was able to solve the issue by increasing region parameter to large value like 16M.

What I am trying to figure out is why did the job issue insufficient storage. I am suspecting that one of my called programs is not unloaded properly. I need help to check if that's happening. Inserting displays is not possible as the main program calls many other programs.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10856
Location: italy

PostPosted: Sun May 14, 2023 6:42 pm
Reply with quote

I do not see any FETCH which means all my subprograms are statically linked.
NOPE ... PL/I and L/E have quite a few modules that are dynamically fetched

from the measges and codes manual www.ibm.com/docs/en/zos/2.1.0?topic=iew4999-iew4000i
Quote:
IEW4000I
FETCH FOR MODULE program-name FROM DDNAME ddname FAILED BECAUSE INSUFFICIENT STORAGE WAS AVAILABLE.


posting the message code only is pretty useless ...
you need also the program-name , to check if is a system required program/module
or an application ( user written ) program/module
Back to top
View user's profile Send private message
neo4u

New User


Joined: 03 Oct 2016
Posts: 10
Location: India

PostPosted: Sun May 14, 2023 8:10 pm
Reply with quote

It's an application program
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon May 15, 2023 3:31 am
Reply with quote

Have you added memory to the step or job? How much memory is the program using?
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts is there an API to use cloud storage ... All Other Mainframe Topics 2
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts CSA Storage Key Removal IMS DB/DC 0
No new posts Storage issue when inserting Chinese ... COBOL Programming 1
Search our Forums:

Back to Top