Hi,
I am using the z/OS V1.9 SDSF REXX facility to go through (many) active CICS regions and extract specific bits of info from each region. I do this by getting a list of the active regions, then for each, I read JESMSGLG and another DDNAME. I dont know how to free any of the allocated files and although I set my stem variable to null (line. = '') I eventually run out of storage.
Does someone know of a way to get around this?
TIA - The Bear.
EXECIO error. Unable to obtain storage
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: EXECIO error. Unable to obtain storage
Hope this helps,
d.sch.
d.sch.
- MrSpock
- Global moderator
- Posts: 809
- Joined: Wed Jun 06, 2007 9:37 pm
- Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
- Referer: ibmmainframes.com
- Location: Raleigh NC USA
- Contact:
Re: EXECIO error. Unable to obtain storage
Try a DROP of the stem variables when you're finished with them. Or, even better, maybe change your code to avoid using them altogether.
-
- Posts: 15
- Joined: Sat Aug 23, 2008 8:06 pm
- Skillset: cobol, cics, mq, vsam, rexx, ispf, sas, eztrieve, db2
- Referer: google
Re: EXECIO error. Unable to obtain storage
Also,
If you are reading the entire JESMSGLG with one EXECIO statement (i.e. EXECIO *), depending on the number of records on that file, your EXECIO will overshoot your allocated storage because of the number of entries in the stem variable. You can change your EXECIO to read one record at a time (i.e. EXECIO 1) and use a PULL statement to process one record rather than reading everying into the stem variable.
Example:
If you are reading the entire JESMSGLG with one EXECIO statement (i.e. EXECIO *), depending on the number of records on that file, your EXECIO will overshoot your allocated storage because of the number of entries in the stem variable. You can change your EXECIO to read one record at a time (i.e. EXECIO 1) and use a PULL statement to process one record rather than reading everying into the stem variable.
Example:
Code: Select all
Do Forever
EXECIO 1 diskr JESMSGLG
If rc /= 0 then leave
PULL jesrec
.. Do your processing here ...
end
-
- Similar Topics
- Replies
- Views
- Last post
-
-
How to obtain only current YEAR and subtract years from it?
by prisgs » Thu Nov 17, 2022 7:13 pm » in JCL - 3
- 2460
-
by sergeyken
View the latest post
Thu Nov 17, 2022 11:24 pm
-
-
-
How to obtain only current YEAR and subtract years from it?
by prisgs » Thu Nov 17, 2022 11:27 pm » in DFSORT/ICETOOL/ICEGENER - 3
- 2014
-
by prisgs
View the latest post
Fri Nov 18, 2022 6:27 pm
-
-
- 6
- 2613
-
by sergeyken
View the latest post
Wed Nov 24, 2021 11:26 pm
-
- 1
- 5369
-
by Robert Sample
View the latest post
Tue Oct 04, 2022 7:36 pm
-
- 1
- 1505
-
by sergeyken
View the latest post
Sun Oct 04, 2020 11:33 pm