BuiltIn Functions › $PROGRAM Function
The $PROGRAM function returns the eight-character name of the current program. See also $SYSTEM and $VERSION.
This function has the following format:
$PROGRAM