entry points in visual cobol

[Migrated content. Thread originally posted on 27 February 2012]

Hello, we use acu cobol environment and are interested in switch to visual cobol in next future. Does visual cobol supports the use of entry points?
  • Verified Answer

    Yes, entry points are supported in procedural COBOL programs in Visual COBOL in both native and managed code.

    You can use standard COBOL syntax like:

    program-id. mainprog.
    linkage section.
    01 param1 pic x(5).
    01 param2 pic x(10).
    procedure division using param1.

    ...

    entry "entry1" using param2.
    ...

    entry "entry3" using param1 param2.
    ...


    and any entry point can be referenced directly in the CALL statement.