Hi Robert 

If the rexx isn't compiled,your suggestion is right.


If the rexx is compiled,we have to change ROFILE VARSTORAGE to HIGH for a big 
size file.


------------------
Thanks a lot!


Best Regards,


Jason Cai


 




------------------ Original ------------------
From: &nbsp;"Robert Garrett";<[email protected]&gt;;
Date: &nbsp;Dec 15, 2021
To: &nbsp;"IBM-MAIN"<[email protected]&gt;; 

Subject: &nbsp;Re: EAGREX0500E Error 5 . Machine storage exhausted or request 
exceeds limit in REXX



REXX isn't the problem.&nbsp; Your coding technique is.
There's no limit to the size of file you can read and process using REXX, 
--provided-- that you read and process only one record (or at most only a few 
records) at a time, like 'normal' program would.
For example:
 EXECIO 1 DISKR MYFILE
 IF RC <&gt; 0 THEN DO
 &nbsp;&nbsp;&nbsp;&nbsp; ....whatever your end of input file logic needs to 
be....
 &nbsp;&nbsp;&nbsp;&nbsp; END
 PARSE PULL BUFFER
 (...BUFFER now contains the record you just read from MYFILE...)
 ...etc...

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]&gt; On Behalf Of 
ibmmain
Sent: Tuesday, December 14, 2021 4:27 PM
To: [email protected]
Subject: EAGREX0500E Error 5 . Machine storage exhausted or request exceeds 
limit in REXX

Hi all&amp;nbsp;


&amp;nbsp;We want to handle a big file (about 5,000,000 records in it) by REXX. 
We also compile the Rexx PGM by REXXCOMP&amp;nbsp;


----------------------------------------------------




//COMPILE EXEC PGM=REXXCOMP,PARM='ALT SL COND TRACE'
//SYSIN DD DSN=yourlib.SYSEXEC(REXXIN),DISP=SHR
//SYSCEXEC DD DSN=yourlib.SYSEXEC(REXXOUT),DISP=SHR&amp;nbsp;
-------------------------------------------------------------------
&amp;nbsp;After we submitted the JCL using the REXXOUT with REGION=0M, We got 
the following message:


EAGREX0500E Error 5 . Machine storage exhausted or request exceeds the limit.


Our questions:
1 Could REXX handle more than 5,000,000 records files?
2 Is there any way to solve this issue?'


Any suggestions would be greatly appreciated!



Thanks a lot!


Best Regards,


Jason Cai


&amp;nbsp;

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to