mcf_st_col_attributes — Obtain the attributes of a column of a sparse-table dataset
subroutine mcf_st_col_attributes(dsid,column_index,name,type,num_elements,status) integer*4 dsid integer*8 column_index character*64 name character*4 type integer*8 num_elements integer*4 status
mcf_st_col_attributes
obtains, for the
sparse-table dataset identified by dsid
, the
column attributes as they were set when the column was created by
calling mcf_st_col_append.
dsid (input)
Dataset identifier.
column_index (input)
Index of the column whose attributes are inquired about. Column indices start at 1.
name (output)
The name of the column will be copied to
name
. The buffer must be at least 64
characters long.
type (output)
The data element type of the column will be copied to
type
. The buffer must be at least 4
characters long.
num_elements (output)
The number of data elements for the column will be
copied to num_elements
. A value of 0
indicates a variable-sized column, where for each cell
belonging to this column, the actual number of elements can
be obtained by calling mcf_st_cell_num_elements.
status (output)
Status code returned (output). If completed successfully, 0 is returned. Otherwise, a negative value indicating the MemCom error number is returned.