To list all open files and their current input or current output status, use the SHOW FILES statement.