Re: Recursive Call



Note that within COBOL that is compliant with the three most recent
standards, both direct and indirect recursion is prohibited. If an
implementor allows it (or provides additional syntax to support it), it's an
extension and it does whatever the implementor says it does.

The draft standard proposed for 2008 allows the RECURSIVE clause in the
PROGRAM-ID paragraph, and programs so marked may be called when they are
already active, and may call themselves directly or indirectly. Those that
aren't can't.

-Chuck Stevens

ANSI X3.23-1974, ANSI X3.23-1985, and ISO/IEC
"Paolo" <paolo.sanzotta@xxxxxxxxx> wrote in message
news:1130942928.070790.49860@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> i've a big problem with the recursives call under Fujitsu Cobol.Net.
> It'happen an exception for recursive call and i don't know how to
> resolve it!
> Do it exist a work-around for this problem?
> thank's
>


.



Relevant Pages

  • Re: Recursive Call
    ... >>> standards, both direct and indirect recursion is prohibited. ... >> COBOL, but I did find it extremely useful in writing a parts explosion ... Stack machines really have proven their worth over non-stack machines. ...
    (comp.lang.cobol)
  • Re: Recursive Call
    ... both direct and indirect recursion is prohibited. ... > implementor allows it (or provides additional syntax to support it), ... > an extension and it does whatever the implementor says it does. ...
    (comp.lang.cobol)
  • Re: Recursive Call
    ... both direct and indirect recursion is prohibited. ... >> an extension and it does whatever the implementor says it does. ... > COBOL, but I did find it extremely useful in writing a parts explosion ... pitfalls were and what the appropriate syntax was. ...
    (comp.lang.cobol)
  • =?windows-1252?Q?Re=3A_Why_can=92t_recursive_queries_contain=2E=2E=2E=3F?=
    ... MS SQL Server is a minimal subset of the ANSI/ISO Standards. ... the compiler gets to change modes when a CTE is recursive. ... fixpoint table expression that does not cause infinite recursion. ...
    (microsoft.public.sqlserver.programming)
  • Re: Recursion
    ... > Calling sub-programs recursively is prohibited by the F77 standard, ... > invokes itself directly, but indirect recursion works. ... > So can someone tell me which F77 compilers de facto allow indirect ...
    (comp.lang.fortran)