display.status()

 

This method returns the current status code of the display object.

Return Value

A Number value set to the status code resulting from the most recent operation on the display file.

RPG Equivalent

%STATUS()