CDF_ATTINQ

The CDF_ATTINQ procedure obtains information about a specified attribute in a Common Data Format file.

Calling Sequence

CDF_ATTINQ, Id, Attribute, Name, Scope, MaxEntry, MaxZEntry

Arguments

Id

The CDF ID of the file containing the desired attribute, returned from a previous call to CDF_OPEN or CDF_CREATE.

Attribute

Either a string containing the name of the attribute or the attribute number to be inquired.

Name

A named variable in which the name of the attribute is returned.

Scope

A named variable in which a string, describing the scope of the attribute, is returned. This string will have one of the following values: "GLOBAL_SCOPE", "VARIABLE_SCOPE", "GLOBAL_SCOPE_ASSUMED", or "VARIABLE_SCOPE_ASSUMED".

MaxEntry

A named variable in which the maximum rVariable entry number for this attribute is returned.

MaxZEntry

A named variable in which the maximum zVariable entry number for this attribute is returned.

Example

cdfid= CDF_OPEN('/cdrom/ozone.8.20.92')

CDF_ATTINQ, cdfid, 0, name, scope, maxentry, maxzentry

PRINT, name, scope, maxentry, maxzentry