Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Getting error "Machine storage exhausted"

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Getting error "Machine storage exhausted"
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 20, 2009 12:47 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed May 20, 2009 1:23 pm    Post subject: Reply to: Getting error "Machine storage exhausted"
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed May 20, 2009 1:52 pm    Post subject: Reply to: Getting error "Machine storage exhausted"
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed May 20, 2009 3:05 pm    Post subject: Reply to: Getting error "Machine storage exhausted"
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed May 20, 2009 3:19 pm    Post subject: Reply to: Getting error "Machine storage exhausted"
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    Post subject:
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed May 20, 2009 3:24 pm    Post subject: Reply to: Getting error "Machine storage exhausted"
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us