gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] OC Compile Errors that work in MicroFocus and Main


From: Roger While
Subject: Re: [open-cobol-list] OC Compile Errors that work in MicroFocus and Mainframe
Date: Fri, 15 Jun 2007 21:31:11 +0200

Use the 2002 standard comaptible syntax -
SET proc-pointer TO ADDRESS OF PROGRAM identifier-or-literal.

Also note that the standard does not know PROCEDURE-POINTER.
The standard defines PROGRAM-POINTER.
However, OC accepts both.

Roger


Roger,

Thanks for the reply on these.

I have worked around all of them.

There is one in here, that did not seem to get a responce, but I didn't really ask a question either.

On #6 with the use of Procedure-Pointers.

> >
> >        01  CALLED-PGMS.
> >            05  300-R60100              PIC X(8)     VALUE 'R60100'.
> >
> >         01  800-PTR-R60100 EXTERNAL     PROCEDURE-POINTER.
> >
> >           SET 800-PTR-R60100             TO ENTRY 300-R60100.
> >
> >
> >            CALL 800-PTR-R60100.
> >


cobc does not handle the SET <procedure-pointer> TO ENTRY <ws pgm name>.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]