Joined: 06 Jun 2008 Posts: 8217 Location: Dubuque, Iowa, USA
You are comparing pomegranates and apples. A get storage request is satisfied from computer memory. Files are on a disk drive or tape drive which has nothing to do with computer memory (other than the buffers used to transfer data to / from the program).
You may have the REGION= parameter on the JCL set too low, or your program is allocating memory via a dynamic call and the parameters are wrong. There's very little chance that any files have any direct impact on the error, though.
Joined: 14 Jan 2008 Posts: 2504 Location: Atlanta, Georgia, USA
Is the program calling CEEGTST (Get Heap Storage) or CEECZST (Change Heap Storage Size)?
In both calls, the second parameter is the storage SIZE, expressed as a binary-fullword.
What's this value?
Explanation from the LE Run-Time messages manual -
"There was not enough free storage available to satisfy a get storage call to CEEGTST or reallocate request call to CEECZST."
Programmer Response -
"Ensure that the REGION size is sufficient to run the application. Ensure that the size parameter in the get storage request is not an unusually large number. Verify that the storage sizes specified in the HEAP and STACK run-time options are reasonable, given the region size allocated to the application. Verify that you are using storage options that get your storage from above the line, if you can, since you can run out of storage below the line much more easily."