status.i4.v = remote_program_check(message.g.v, type.i4.r, subtype.i4.r,

	This routine checks to see if the calling application program
	has received a remote (batch) request.  A value of NULL can
	be passed for any returned argument that it is not needed.

	message		message to check (If a value of NULL is passed for
			this argument, the chgpgm(_c) command buffer is used.
			This option must be exercised for the first time
			during the handling of the program initialization
			event or this information will be lost.)
	type		returned request type
			(REMPGM_NONE -> no remote program request,
			 REMPGM_SCRIPT -> script play request received,
			 REMPGM_SCRIPT_LIST -> script list play request
			 REMPGM_METHOD -> method execution request received)
	subtype		returned request subtype
	request_data	returned request data
	request_length	returned request length

	This function returns ACNET status values as follows:

	OK			remote program request found
	CLIB_NO_SUCH		no remote program request present
	CLIB_MEMFAIL		failed in allocating dynamic memory

	This function requires the following include files:

	cnsparam_h, clib_h, acnet_errors_h

	Related functions:

	remote_program_get_data, remote_program_caller_data,
	remote_program_get_script, remote_program_get_method,
	run_remote_program_c, remote_program_end_request_c,
	remote_program_generate_output, chgpgm(_c), acnet_chgpgm,
	getcmd(_c), putcmd

	C/C++ usage:

	int		status;
	int		type;
	int		subtype;
	unsigned int	request_length;
	void		*message = (void *) NULL;
	void		*request_data;

	status = remote_program_check(message,&type,&subtype,