Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Control stack full error in REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
rohitcognizant

New User


Joined: 13 Feb 2007
Posts: 55
Location: Pune India

PostPosted: Tue Jul 17, 2007 1:44 pm    Post subject: Control stack full error in REXX
Reply with quote

hi i ran a reex program which is quite big..
on execution it gave me an error

line 52 :control stack full

line 52 had an if condition loop
like
do i=1 to 30 by 1
if(v.i=' ')/****line 52*****/
then ref_var=1
end

wot could be the problem ?

i use if loop many times in the prog along wit do loops.could that be a problem?
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: Tue Jul 17, 2007 3:04 pm    Post subject:
Reply with quote

What exactly is your code doing, without seeing it we can only guess at why the problem occurs.

How much data do you have in your stem V.i

How much data are you trying to stack
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jul 17, 2007 3:19 pm    Post subject:
Reply with quote

1. Do you have any INTERPRET commands?
2. What is the level of nesting of loops/DOs?

O.
Back to top
View user's profile Send private message
rohitcognizant

New User


Joined: 13 Feb 2007
Posts: 55
Location: Pune India

PostPosted: Tue Jul 17, 2007 4:13 pm    Post subject: Re: control stack full error
Reply with quote

hi all
i found that my rexx program was getting into an infinite loop when i give a particular input that was why the stack got full..For my info Is there any other instance where a control stack can get full???
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jul 17, 2007 5:40 pm    Post subject:
Reply with quote

When you pass the nesting limit (250).

O.
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us