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

Getting error "Machine storage exhausted"


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

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Wed May 20, 2009 12:43 pm
Reply with quote

hi,
i have coded a tool which uses ISPF dialogs,REXX program and edit macros.
from the ISPF dialog screen according to the input, i am calling 3 type of macros. recently, a new requirement came and i did some changes to one of the macros. while trying to execute the macro, i am getting an error "Error executing line 512: Machine storage exhausted"

i tried dropping some variables, but it is not working and i am getting the same error. icon_sad.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 20, 2009 12:47 pm
Reply with quote

You have run out of storage. Can you not increase your region size ?

Tsssk, a smidge remiss of me suggesting the lazy way around this. Although not every site allows users to override the set defaults for size.

What are you doing in your EXEC ?

Are you trying to process large datasets - if so - this is one of the most common causes of the problem. You will need to learn to process the data in manageable sized chunks. There are examples of this because I have posted it some time in the dark and distant past upon this very forum.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 20, 2009 1:23 pm
Reply with quote

Quote:
"Error executing line 512: Machine storage exhausted"


if You had graciously posted line 512 You might have got more suggestions

dropping some variables is not usually enough,
You might need to review the overall logic
.. EXECIO * READ
.. DO loops which create STEMS
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Wed May 20, 2009 1:47 pm
Reply with quote

i will explain what i am doing with the tool ......

Rexx program - which displays the ISPF dialogs, processes inputs from user and executes any of the 3 macros.

Ispf screen - which will get the inputs from the user like component name, path , what type (jcl/proc/parm).

JCL macro- which checks for the parameters in JCL and creates a result dataset.

PROC macro - checks for the parameters present in the PROC and creates a result dataset.

PARM macro - checks what type of parm it is and if needed it calls another macro (macro calling a macro) , after checking parameters the result will be VPUT to the PARM macro , result dataset will be created.

I have used many VPUT,VGET variables for processing , especially the flow goes from REXX--> macro (or) REXX-->macro-->macro.

i just added a piece of code in the PARM macro, from then onwards i am getting this error.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 20, 2009 1:52 pm
Reply with quote

still nothing useful to help

Quote:
just added a piece of code in the PARM macro, from then onwards i am getting this error.


technically correct but useless suggestion icon_cool.gif

review the changes !
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Wed May 20, 2009 2:03 pm
Reply with quote

icon_redface.gif

Actually i added the code in order to remove brackets '(' and ')' from the variables. i had put that in a function and made it to perform whenever brackets are found in the variables.

This is what i did. i do reveiw the changes, but what i am asking is , give me suggestions like , The things thats uses more storage.

why not dropping a variable alone is not effective ?

Are the shared variables givin this problem ?
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Wed May 20, 2009 2:44 pm
Reply with quote

This is the error i am getting,

Error running PARMCHK, line 515: Machine storage exhausted

here is the line :

051500 PARM.RECCNT= "COLLECT STATISTICS :",
051600 "Found on table" TBLNAME"."
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 20, 2009 3:05 pm
Reply with quote

Quote:
PARM.RECCNT


and
Quote:
.. DO loops which create STEMS


how large is reccnt ??
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Wed May 20, 2009 3:15 pm
Reply with quote

Thanks Enrico ...... you r genius icon_lol.gif .....

actually that loop is executing repeatedly ..... i thought the machine storage exhausted is something to do with the memory and not with my logic .... i was wrong .....


Thanks once again ..... i will look after the looping now ..... icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 20, 2009 3:19 pm
Reply with quote

the message is a bit obscure....
the real meaning is that rexx was not able to obtain virtual storage, not machine/real storage
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Wed May 20, 2009 3:22 pm
Reply with quote

Thanks for the help enrico ..... icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed May 20, 2009 3:24 pm
Reply with quote

You are welcome icon_biggrin.gif
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts CICS vs LE: STORAGE option CICS 0
Search our Forums:

Back to Top