Highlighted
Absent Member.
Absent Member.
1052 views

entry points in visual cobol

Jump to solution

[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?
0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: entry points in visual cobol

Jump to solution
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.

View solution in original post

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: entry points in visual cobol

Jump to solution
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.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.