AST_HASCOLUMN

Returns a flag indicating if a column is present in a Table

Description:

This routine returns a flag indicating if a named column exists in a Table, for instance, by having been added to to the Table using AST_ADDCOLUMN.

Invocation

RESULT = AST_HASCOLUMN( THIS, COLUMN, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Table.
COLUMN = CHARACTER $\ast$ ( $\ast$ ) (Given)
The character string holding the upper case name of the column. Trailing spaces are ignored.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

• A value of .FALSE. is returned for if an error occurs.