View previous topic :: View next topic
|
Author |
Message |
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
review the changes ! |
|
Back to top |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
and
Quote: |
.. DO loops which create STEMS |
how large is reccnt ?? |
|
Back to top |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
Thanks Enrico ...... you r genius .....
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 ..... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
Thanks for the help enrico ..... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You are welcome |
|
Back to top |
|
|
|