View previous topic :: View next topic
|
Author |
Message |
puneetvirmani143
New User
Joined: 24 Jul 2007 Posts: 55 Location: noida
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
vasanthz,
I, too, know Jack very well but my experience is that he's more likely to cause memory faults !
Garry |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
|