nivedita Beginner
Joined: 04 Nov 2003 Posts: 22 Topics: 15
|
Posted: Wed May 26, 2004 1:26 am Post subject: PROGRAM ID with RECURSIVE |
|
|
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 |
|