MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Storage problem when executing REXX routine.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Mon Jun 04, 2007 12:21 am    Post subject: Storage problem when executing REXX routine. Reply with quote

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


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Mon Jun 04, 2007 12:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Jun 04, 2007 12:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Mon Jun 04, 2007 1:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group