Results 1 to 3 of 3

Thread: Recursion in Program

  1. #1
    Contributing Member
    Join Date
    May 2006
    Answers
    72

    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?


  2. #2
    Junior Member
    Join Date
    Sep 2006
    Answers
    24

    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


  3. #3
    Junior Member
    Join Date
    Apr 2007
    Answers
    4

    Re: Recursion in Program

    no ,recursion is not possible in cobol


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact