pgm_data_storage

	status.i4.v = pgm_data_storage(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 file.  This provides an easy method for a program to save and
	recall its usage parameters.  The file is unique to an application
	number and console number.  This allows each user of a program to
	have data saved and recalled for their customized use.  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"
	write_it	read/write flag
			(TRUE -> WRITE the data,
			 FALSE -> READ the data)
	[table_name]	null terminated APPDS table name (table should be
			configured for at least 300 records)
			(Note: If this argument is defaulted or a value of
			 NULL is passed, data will be read from and written to
			 a flat file.  This use is considered to be deprecated.)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	CBS_NO_SUCH		file does not exist (write to it first?)
	CBS_NOTOPN		failed to open existing file
	CBS_CORRUPT		error occurred reading or writing data

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	pgm_data_storage_shared

	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(data,data_length,write_it,table_name);