(Posted to Cobol list earlier on).
Is anyone aware of a pre-defined cobol variable (like Time and Date) which will complete the following puzzle. What I'ld like is My-Variable to contain is the name of the entry point - i.e to contain "M4ABCD" at (1) and "M4EFGH" at (2).
ENTRY "M4ABCD" USING X,Y,Z,,,,,etc
M4ABCD-FIRST-ENTRY-POINT SECTION.
*
ABCD-ENTER.
*
MOVE ???????????? TO MY-VARIABLE.
* (1)
ABCD-EXIT.
EXIT.
ENTRY "M4EFGH" USING X,Y,Z,,,,,etc
M4EFGH-FIRST-ENTRY-POINT SECTION.
*
EFGH-ENTER.
MOVE ???????????? TO MY-VARIABLE.
* (2)
EFGH-EXIT.
EXIT.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|