pgm_data_storage_shared

	status.i4.v = pgm_data_storage_shared(data.i1a.r, data_length.i4.v,
					      write_it.i4.v [,table_name.i1a.r])

	This routine reads or writes a contiguous blob of data to or from
	a shared access file.  This provides an easy method for a program
	to save and recall its usage parameters.  The file is unique to
	the calling application, but not the current console number.
	If the table name argument is provided, the data will be read from
	or written to the corresponding APPDS table.  The APPDS files
	themselves can be created through the use of the APPDS Manager
	program.

	data		the contiguous blob of data to be read or written
	data_length	the number of bytes in "data"
			(maximum is PGM_DATA_MAX_LEN)
	write_it	read/write flag
			(TRUE -> WRITE the data,
			 FALSE -> READ the data)
	[table_name]	null terminated APPDS table name
			(Note: If this argument is defaulted or a value of
			 NULL is passed, data will be read from and written to
			 a Fileshariing file.  This use is considered to be
			 deprecated.)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVARG		invalid number of bytes requested
	CBS_INVNAME		invalid calling process name
	CBS_INVSIZ		length of data read does not match request
	FSHARE_xxx		error occurred accessing file data

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	pgm_data_storage

	C/C++ usage:

	char	data[DATA_LENGTH];
	static const char	table_name[] = "my_table";
	int	status;
	int	data_length = DATA_LENGTH;
	int	write_it = FALSE;

	status = pgm_data_storage_shared(data,data_length,write_it,table_name);