mcf_db_get_set_pos — Read data from database file (Fortran API)
subroutine mcf_db_get_set_pos(handle,name,pos,size, buffer,lbuffer,status) integer*4 handle character*(*) name integer*8 pos integer*8 size xxx buffer(lbuffer) integer*8 lbuffer integer*4 status
mcf_db_get_set_pos reads
at most
size
data elements of type I, J, E, F, C, Z from
the relative position pos
of dataset
name
residing on the database file
handle
to the user buffer
buffer
. size
must be greater
than lbuffer.
handle
Handle of database file on which the set resides (input).
name
Name of dataset to be read from the database file (input). The string may not exceed the maximum dataset name length.
pos
Position relative to the beginning of the set from which data are being read (input). Positions start with the index 1.
size
Number of data elements to be read (input).
buffer
Data buffer to which data are transferred (input).
lbuffer
Logical size of data buffer (input).
status
Status code returned (output). Upon successful completion of the operation, the status value 0 is returned. A negative value is returned if an error has been detected. A positive value is returned if a warning has been issued.