!
! HELP file for SETPRN, a program to set process names.
!
! 08-May-79, Roger Lipsett.
!
 The routine in this module, SETPRN, will set the process name as specified
by the arguments, and will optionally return the old process name.
 It accepts 0, 1, or 2 arguments, the format of a call being
		CALL SETPRN([NEW] [,[OLD]])

 The first argument, if specified, is the descriptor of the name which is to
become the new process name.  If omitted, or if there are no arguments, the
process name is set to the user name.
 The second argument, if specified, is the descriptor of an area to receive
the old process name.  If omitted, or if there is one argument only, the
process name is set to the user name.
 In any case, if the $SETPRN system service fails, the process name is set
to the terminal number (e.g. _TTA1:), and the failure code is returned in R0.
For normal termination, i.e. success, the return code is SS$_NORMAL.

N.B.  Omitting an argument is not the same as passing a zero argument.
CALL FOO(0) passes to FOO an argument list whose only element is the
	address of a literal 0, while
CALL FOO passes to FOO an argument list whose only element IS the
	literal 0.

*Examples
CALL SETPRN('FOOBAR',X) sets the process name to FOOBAR and returns
	the current process name in the character string X.
CALL SETPRN(,Y) sets the process name to the user name and returns
	the current process name in Y.
CALL SETPRN and CALL SETPRN() both simply set the process name to the
	user name.
