The
getsymbol function returns the name of the current procedure being executed.
An optional syntax,
getsymbol(savepartial), returns the field name and occurrence information (for multiply-occurring items) of the location of the last
partial save.
The function returns a string with the procedure's name.