View previous topic :: View next topic
|
Author |
Message |
neo4u
New User
Joined: 03 Oct 2016 Posts: 8 Location: India
|
|
|
|
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 |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
neo4u
New User
Joined: 03 Oct 2016 Posts: 8 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
neo4u
New User
Joined: 03 Oct 2016 Posts: 8 Location: India
|
|
|
|
It's an application program |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Have you added memory to the step or job? How much memory is the program using? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
re: "module size is around 4M and my region param is also 4M"
Besides the size of the module, most programs will request additional memory for use as variables and arrays and the like. Relying on the module size alone is not adequate.
Just go with 16M all of the time instead of trying to be know ahead of time how big a region size you need. |
|
Back to top |
|
|
|