DataBasic Reference > MultiValue Compatibility > Statements and Intrinsic Functions > STATUS Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

STATUS Function (DataBasic MultiValue Compatibility) (m6187ai+status_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

STATUS Function

Returns an error code which is equivalent to that which would have been returned via the SETTING clause in the previous file operation.

This function is provided for compatibility with MultiValue systems that do not include a SETTING clause in their file access statements.

Syntax

STATUS()

Comments

The STATUS function must be used immediately after the statement or function for which it is returning the error code.

STATUS can be used with the following:

CLOSESEQ statement DELETESEQ statement FLUSH statement
ICONVS function MATREADU statement OCONVS function
OPENSEQ statement READBLK statement READSEQ statement
READU statement READVU statement RECORDLOCKED function
SEEK statement WEOFSEQ statement WRITEBLK statement
WRITESEQ statement    

See the descriptions of the above for details of the values returned.

RealityV15.0Comment on this topic