IF (monitor_stdio) THEN
& timeave_mdsio, snapshot_mdsio, monitor_stdio,
LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
& .AND. monitor_mnc ) monitor_stdio = .FALSE.
CALL WRITE_0D_L(monitor_stdio,INDEX_NONE,
& .OR. .NOT.monitor_stdio ) THEN
monitor_stdio = .TRUE.