next up previous contents index
Next: Operations on keys Up: Description of user Previous: Read a bank

Input an array from an RZ file

CALL RZVIN (VECT*,NDIM,*NWORDS*,KEY,ICYCLE,CHOPT)

Input parameter description:

NDIM
Number of words available in array VECT (e.g. declared dimension)
NWORDS
Actual length of the vector. If the length of the vector is greater than NDIM, then the vector is truncated. If option O is specified, then NWORDS will contain, on input, the offset of the first word of the vector that should be returned.
KEY
Keyword vector of the information to be read
ICYCLE
Cycle number of the key to be read
ICYCLE > 0 highest cycle number means read the highest cycle
ICYCLE = 0 means read the lowest cycle
CHOPT
Character variable specifying the options selected(see RZIN).
'O'
Read vector starting from offset specified by argument NWORDS.

Output parameter description:

VECT*
FORTRAN array to contain the information input
The array VECT should be at least dimensioned to NDIM words
NFILE*
Actual length of the array on the file

The information associated with a (key,cycle) pair on an RZ file can be read into an array by a call to RZVIN. The same conventions used by RZIN for KEY and CYCLE in the CWD are used.

RZVIN return codes

RZVIN returns the read status, either normal or error completion, in QUEST in a way similar to RZIN.


Janne Saarela
Mon May 15 08:34:47 METDST 1995