Geeks Talk

Prepare for your Next Interview




Recursion in Program

This is a discussion on Recursion in Program within the MainFrame forums, part of the Software Development category; Can a Called program execute a CALL statement that directly or indirectly calls the calling program. In other words is recursion allowed in the concept of CALL in COBOL program?...


Go Back   Geeks Talk > Software Development > MainFrame

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-01-2006
Contributing Member
 
Join Date: May 2006
Posts: 73
Thanks: 0
Thanked 4 Times in 4 Posts
joel is on a distinguished road
Exclamation Recursion in Program

Can a Called program execute a CALL statement that directly or indirectly calls the calling program. In other words is recursion allowed in the concept of CALL in COBOL program?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-09-2006
Junior Member
 
Join Date: Sep 2006
Posts: 24
Thanks: 0
Thanked 2 Times in 2 Posts
RajivPrasad is on a distinguished road
Re: Recursion in Program

COBOL does not allow recursion in non-recursive main programs or subprograms. Recursive calls are only allowed if you code the RECURSIVE clause on the recursively invoked program's PROGRAM-ID paragraph
Reply With Quote
  #3 (permalink)  
Old 04-25-2007
Junior Member
 
Join Date: Apr 2007
Location: banglore
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
praddu is on a distinguished road
Re: Recursion in Program

no ,recursion is not possible in cobol
Reply With Quote
Reply

  Geeks Talk > Software Development > MainFrame


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Knowledge about Program ID in Cobol program RyanJames MainFrame 2 02-14-2008 09:32 AM
Easiest Certification Program fred Certification 3 01-04-2007 11:54 AM
Program Execution norman C and C++ 5 11-12-2006 03:14 PM
Database access using C program fred C and C++ 1 07-13-2006 10:52 PM


All times are GMT -4. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved