Freeing information from memory

             +----------------------------------------------+
             | CALL  CDFREE (PATH,LSUP,MASK,KEYS,CHOPT,IRC*) |
             +----------------------------------------------+
                                  

PATH
Character string describing the pathname
LSUP
Address of Keys bank(s) KYDB
MASK
Integer vector indicating which elements of KEYS are significant for selection.
KEYS
Vector of keys
CHOPT
Character string with any of the following characters
'A'
trust LSUP address if non-zero
'D'
drop the Data bank(s) supported at link 1 of Key bank(s)
'K'
drop the Key bank(s) as well as Data bank(s)
IRC
Integer return code
0
Normal completion
51
Illegal character option
52
No access to the Key banks
53
Pathname not found in the RZ directory
54
Pathname not matched to that found in bank NODB
55
Too many keys with option M
56
Illegal Key option
57
Illegal pathname
58
Database structure in memory clobbered
59
Some of the expected key banks not found

Routine CDFREE declares the given data bank(s) as candidates to be dropped in case space is needed in the database division. Optionally it deletes the Data bank(s) (with option D) or the Keys as well as the Data bank(s) (with option K). If the pathname begins with a % character then it is assumed to be an alias and is automatically translated by the internal HEPDB routines.