Obtaining the IDL Name of the Current System Routine
To get the IDL name for the currently executing system routine, use the IDL_SysRtnGetCurrentName().
Syntax
char *IDL_SysRtnGetCurrentName(void)
This function returns a pointer to the name of the currently executing system routine. If there is no currently executing system routine, a NULL (0) pointer is returned.
This routine will never return NULL if called from within a system routine.