MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PROGRAM ID with RECURSIVE

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
nivedita
Beginner


Joined: 04 Nov 2003
Posts: 22
Topics: 15

PostPosted: Wed May 26, 2004 1:26 am    Post subject: PROGRAM ID with RECURSIVE Reply with quote

Hi,

I have a query on usage of RECURSIVE in PROGRAM ID.

When I read through the manual it says that if you use the above then cobol pgm will be called recursively even while the previous call is still active.

I am not getting the below point on , can anybody elborate a bit more from performance perspective as I have program which is using this recursive call..

"Performance considerations for using IS RECURSIVE on the PROGRAM-ID statement (measuring CALL overhead only):
One testcase (Assembler repeatedly calling COBOL) using IS RECURSIVE was 4% slower than not using IS RECURSIVE.
Note: This test measured only the overhead of the CALL (i.e., the subprogram did only a GOBACK); thus, a full application that does more work in the subprograms is not degraded as much."

What is this testcase with assembler repeatedly calling??

Thanks,
Nivedita
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group