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

Machine Storage Exhausted


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
puneetvirmani143

New User


Joined: 24 Jul 2007
Posts: 55
Location: noida

PostPosted: Wed May 20, 2015 3:45 pm
Reply with quote

Hello Everyone

I am new to Rexx and learning it.

One of the batch job is executing REXX routine and it is failing with error 'Machine Storage exhausted'. Every Monday the 1st run of job fails because of large data. Below is the error message

IKJ56644I NO VALID TSO USERID, DEFAULT USER ATTRIBUTES USED
95 +++ UT629.23 = IREC.n
95 +++ Interpret VARNAM '= IREC.n'
IRX0005I Error running BJAR198C, line 95: Machine storage exhausted
READY
END

And the rexx code where it failed at line number 95

000094 Do
000095 VARNAM = VARNAM1!!recs ; Interpret VARNAM '= IREC.n'
000096 Drtell = Drtell + 1
000097 End /* Do - end

What I have noticed is when the record count tries to jump 999 records , rexx fails.

Probably default value can hold upto 3 digit and when the record count is 4 digit it fails. This is my assumption , I am not sure of it.

Can anyone please suggest me on this. Please let me know if anything is required from my end
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed May 20, 2015 3:56 pm
Reply with quote

Please post the Rexx script (if it is of reasonable size) and, if you have one, a trace made during a failed run. It is likely (but not certain) that you are trying to read an entire data set into memory at once with EXECIO *.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed May 20, 2015 4:02 pm
Reply with quote

When posting code, do not include the line-numbers on the left. Also, remember to use the Code tags.

Memory gets exhausted more easily with age, and when having to go up and down stairs often. If you can give the memory a cup of tea and a biscuit, and allow it to rest for a few minutes, this may help. Or just discard the old memory, and outsource the task to young memory which visits the Gym often.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed May 20, 2015 7:02 pm
Reply with quote

Puneet-kun:

Please do not send me (or any other person) PMs concerning a public topic. I do not have a monopoly on knowledge; all the sempai will have valuable contributions to make...if they know what is being said.

Also, please do not attach files containing code unless they are specifically asked for; many cannot or will not download such for security reasons or to avoid possible malware. Rather, cut and paste from your emulator to the appropriate thread, enclosing the pastes in Code tags to maintain alignment.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu May 21, 2015 2:34 am
Reply with quote

Bill,
I know a guy named Jack Daniels, he is a wonderful therapist and always helps me reclaim my paged out memory :-)
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu May 21, 2015 12:53 pm
Reply with quote

vasanthz,
I, too, know Jack very well but my experience is that he's more likely to cause memory faults ! icon_lol.gif
Garry
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu May 21, 2015 2:27 pm
Reply with quote

Guys, guys instead of making jokes you could have pointed him/her here :

ibmmainframes.com/about40701.html
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Insufficient Storage ABENDS & Debugging 7
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts Getting an abend (I/O abend was trapp... ABENDS & Debugging 3
Search our Forums:

Back to Top