fndgen

	count.i2.v = fndgen(rad50_generic.i4.r, locations.i4a.r,
			    max_return.i2.r, status.i2.r)

	This routine sends a request to the Central Program Loader (CPLD) to
	determine which console/slot combinations are running the generic PA
	or SA taskname.  A test version of a PA on the Z-Page will be
	recognized as matching the generic PA.  The ACNET taskname which 
	the generic task will have for any console/slot combination can be 
	determined by using the ctname function. Since this routine does a 
	network transmission, it is expensive to call.  It is recommended
	that it not be called more often than once every few seconds.

	rad50_generic	RAD50 generic taskname to find (PAnnnn or SAnnnn)
			(Passing a null pointer or a value of 0 results in
			 the caller's generic taskname being used.)
	locations	returned array of console/slot locations
			running the specified generic task
			(The low order word of each array element will contain
			 the console number and the high order word will
			 contain the slot number.  Unused array elements will
			 be set to zero.)
	max_return	maximum number of console/slot locations to return
			(maximum is FIND_PROGRAM_MAX)
	status		returned ACNET format error status
			(OK -> success,
			 CBS_INVARG -> invalid number of locations requested,
			 ACNET_UTIME -> process information reply timed out,
			 ACNET_xxx -> process information request failed)

	This function returns status values as follows:

	number of consoles running the requested program

	This function requires the following include files:

	clib_h, acnet_errors_h

	Related functions:

	ctname, find_program_c, console_task_name_c, process_get_active,
	get_console_tasks_c, get_task_c, find_sa, check_for_sa(_c)

	C/C++ usage:

	short	count;
	short	max_return = MAX_RETURN;
	short	status;
	int	rad50_generic = 0; 
	int	locations[MAX_RETURN];

	count = fndgen(&rad50_generic,locations,&max_return,&status);