get_process_name(name.i1a.r [,get_generic.i4.v] [,get_current.i4.v])

	This routine returns the ASCII process name of the calling program.

	name		returned process name (PROCESS_NAME_LEN characters)
			(e.g. "PA1009")
	[get_generic]	generic name flag
			(TRUE -> return the generic process name,
			 FALSE -> return the specific process name (default))
	[get_current]	process name to return
			(FALSE -> return "normal" process name (default),
			 TRUE -> return the current process name which
				 may be different if the program is under

	This function requires the following include files:

	cnsparam_h, cbslib_h

	Related functions:

	get_process_number, myname, mypage, is_test_page, get_process_alias,
	get_process_alias_number, set_process_alias, myslot,
	get_task_name_c, get_task_c

	C/C++ usage:

	char	name[PROCESS_NAME_LEN];
	int	get_generic = FALSE;
	int	get_current = FALSE;