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)