State (Dataset property)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The current state of this dataset (Dataset class)


Syntax

%datasetState = dataset:State

Syntax terms

%datasetState A DatasetState enumeration variable to receive the value that indicates the current state of the dataset object.
dataset A reference to an instance of a Dataset object.

Usage notes

  • The most common use for the State property is to check if end of file has been reached for an input dataset (State=AfterEnd), or to check if an output file has filled (State=Full).
  • The initial state of all datasets is Closed.

Example

For a simple example, see "Dataset example".

See also