The RMSSTATUS function returns the RMS status or the status value of the last I/O operation on a specified channel. Example value% = RMSSTATUS(1%, VALUE)
1 – Syntax
long-var = RMSSTATUS ( chnl-exp [ { ,STATUS } ]) [ { , VALUE } ])