Loading...
Select Version
&pagelevel(4)&pagelevel
The PROC-NAME() function returns the original name of the function caller.
In most cases the SYSCMD() function may be used to get the same name. However, the commands CALL-PROCEDURE, ENTER-PROCEDURE and INCLUDE-PROCEDURE sometimes copy the specified procedure and run the copy. In this case SYSCMD() returns the name of the copy, while PROC-NAME() delivers the name of the original procedure which has been copied.
Result type: STRING
PROC-NAME( ) |