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 IVECT is an output vector in which the data retrieved from the database is written.
LVECT
Length of vector IVECT
LBANK
Returned address of the key bank
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.