Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

PROC-NAME( ) Get procedure name

&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( )