beautypg.com

7 command-line interface, 258 serverview update management – FUJITSU ServerView Suite V6.10 User Manual

Page 258

background image

7 Command-Line Interface

if %errorlevel%==7 goto noaccess

if %errorlevel%==10 goto parerror

if %errorlevel%==11 goto memerror

if %errorlevel%==0 goto old-ok

@echo.

@echo Undefined returncode!

goto endchk

rem

rem ********************************************************

rem * Old Flashs (prepared) detected Cancel them

rem ********************************************************

rem

:statenok

@echo.

@echo Unknown Flash States or flash states "prepared" for server %1 avail-

able

@echo Who has started them ? Please check!

@echo After continue the old flashs are canceled

pause

@echo Cancel flash states for server %1

gfcli -A -N %1 -L %2 -P %3 -F %1.txt

if %errorlevel%==1 goto nothtodo

if %errorlevel%==2 goto timeout

if %errorlevel%==3 goto statenok

if %errorlevel%==5 goto gfierror

if %errorlevel%==6 goto nologop

if %errorlevel%==7 goto noaccess

if %errorlevel%==10 goto parerror

if %errorlevel%==11 goto memerror

if %errorlevel%==0 goto cancok

@echo.

@echo Undefined returncode!

goto chkend

:cancok

@echo.

@echo All jobs canceled for server %1

goto start1

rem

258

ServerView Update Management