1
OpenVMSDCL 명령 HELP ON EXAMPLE
표시 :첫 번째 오류가 발생한 후 DCL ON ERROR 작업을 처리합니까?
예
1.$ ON SEVERE_ERROR THEN CONTINUE
A command procedure that contains this statement continues
to execute normally when a warning or error occurs during
execution. When a severe error occurs, the ON statement signals
the procedure to execute the next statement anyway. Once
the statement has been executed as a result of the severe
error condition, the default action (ON ERROR THEN EXIT) is
reinstated.
ON
도
[-]x.for
도[-]y.for
다음 마지막 두 줄이 실행되지 않습니다 존재하는 경우 도움에 따르면 :$ on error then $ continue $ rename [-]x.for [] $ rename [-]y.for [] $ type *.for
스크립트의 각 줄 사이에
ON ERROR
문을 삽입하지 않고 첫 줄에ON ERROR
처리를 설정하는 방법이 있습니까?