gatttb — Scan relational table
subroutine gatttb(code,key,type,size,status) integer*4 code character*(*) key character*4 type integer*4 size integer*4 status
code
Position code (input). If code is set to 0 the first
key of the table is returned. All other values of code
return the next key of the table. Note that
status
= 1 indicates that the end of the
table has bee reached.
key
Character string containing the name of the key (output).
type
Data type of key (output).
size
Size of key (output).
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. See MemCom error codes.