The CDF_ATTNUM function returns the attribute number associated with a particular attribute in a Common Data Format file.
Result = CDF_ATTNUM( Id, Attribute_Name )
The CDF ID for the file that contains the desired attribute, returned from a previous call to CDF_OPEN or CDF_CREATE.
A string containing the name of the attribute.
See the example for CDF_ATTPUT .