View previous topic :: View next topic |
Author |
Message |
vivek1983 Intermediate

Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Mon Jun 04, 2007 12:21 am Post subject: Storage problem when executing REXX routine. |
|
|
Hi,
I am encountering the following error message while executing a REXX routine. Please let me know the possible causes for the below issue:
Code: |
IRX0005I Error running JCLCONV, line 55: Machine storage exhausted
|
Note:
JCLCONV is the REXX routine I am trying to execute. It opens some 3 input files and processes from the input. I have freed all the input datasets after fetching data from it. Yet I am getting storage problem.
Please provide your ideas on how to resolve this issue. Also let me know if I can provide some more information regarding the issue.
Thanks,
Vivek G |
|
Back to top |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Mon Jun 04, 2007 12:53 am Post subject: |
|
|
My guess - you are trying to read (using EXECIO) a huge file. The storage available for you is limited.
Try reading a huge file in batches (say - 10,000 records for each iteration).
O.
________
mflb
Last edited by ofer71 on Sat Feb 05, 2011 12:01 pm; edited 1 time in total |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Jun 04, 2007 12:54 am Post subject: |
|
|
How large are your files and how are you processing them? Do you have a loop that is not working properly and using up all your storage? How large is your TSO size? |
|
Back to top |
|
 |
vivek1983 Intermediate

Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Mon Jun 04, 2007 1:04 am Post subject: |
|
|
warp5,
You are right. I am not handling a loop properly. So as a result it ended up as an infinite loop that was causing the problem. I have fixed that.
Thank you all for your quick responses.
Thanks,
Vivek G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
 |
|
|