Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-23
options
FILE_CREATELIST_
Defines a new structured or unstructured disk file with characteristics that cannot be
specified through FILE_CREATE_. This procedure operates only on Guardian objects.
FILE_GETINFO_
Obtains a limited set of information about a file identified by file number.
Bits 0-9 Reserved (must be 0).
Bit 10 Refresh EOF. A change to the end-of-file value is to cause the file label to be
written immediately to disk.
Bit 11 Index compression. For key-sequenced files, the entries in the index blocks
are to be compressed. Must be 0 for other file types.
Bit 12 Data compression. For key-sequenced files, the keys of entries in the data
blocks are to be compressed. Must be 0 for other file types.
Bit 13 Audit compression. For audited files, the audit data is to be compressed.
Bit 14 Audited. The file is to be audited under the TMF subsystem. Must be 0 for
systems without the TMF subsystem.
Bit 15 Odd unstructured. For unstructured files, I/O transfers are to occur with the
exact counts specified. If this option is not selected, transfers are rounded up
to an even byte boundary. Must be 0 for other file types.
#include <cextdecs(FILE_CREATELIST_)>
short FILE_CREATELIST_ ( char *filename /* i */
,short maxlen /* o:i */
,short *filenamelen /* i,o */
,short *item-list /* i */
,short number-of-items /* i */
,short *values /* i */
,short values-length /* i */
,[ short *error-item ] ); /* o */
#include <cextdecs(FILE_GETINFO_)>
short FILE_GETINFO_ ( short filenum /* i */
,[ short *last-error ] /* o */
,[ char *filename ] /* o */
,[ short maxlen ] /* i */
,[ short *filename-length ] /* o */
,[ short *type-info ] /* o */
,[ short *flags ] ); /* o */