next up previous contents index
Next: Directory manipulation Up: Description of user Previous: Text file manipulation

Vector manipulation

Enter or retrieve a vector

CALL CDVECT (CHPATH,IVECT,LVECT,LBANK,CHOPT,IRC*)

CHPATH
Character string describing the pathname
IVECT
Vector to be stored. In case of option G, IVECT is an output vector in which the data retrieved from the database is written.
LVECT
Length of vector IVECT
LBANK
Input address of the data bank (option G) or output address of the data bank (option P).
CHOPT
Character string with any of the following characters
'G'
Get the vector from the bank at LBANK
'P'
Put the vector into the bank whose address is returned in LBANK
'B'
Vector is bit string
'R'
Vector is real
'I'
Vector is integer
'D'
Vector is double precision
'H'
Vector is hollerith
IRC
Integer return code  
0
Normal completion
53
Path name does not exist in database
61
Too many keys
63
Database structure in memory clobbered
64
Error in MZCOPY while copying Data bank

Routine CDVECT can be used to store a vector in a bank suitable for insertion into the database or to retrieve data from an existing bank.


Janne Saarela
Tue May 16 10:31:09 METDST 1995