SN0054614-00 K C-1
CError/Exit Return Codes
To list the error/exit return codes while running SANsurfer FC/CNA HBA CLI in
interactive mode:
1. From the Main Menu, select the Help option, and then press
ENTER
.
2. On the Help Menu, select Exit Codes, and then press
ENTER
.
To list the SANsurfer FC/CNA HBA CLI non-interactive error/exit codes from the
command line, type:
scli -ei
SANsurfer FC/CNA HBA CLI lists the error/exit return code numbers, names, and
descriptions as shown in TableC-1.
NOTE:
Error return codes are continually being updated. Although TableC-1 was
accurate at the time this document was written, you should check for the
latest return codes in the file, Fcscli-exicodes.txt, located in the
SANsurfer FC/CNA HBA CLI installation directory.

Table C-1. Error/Exit Return Codes

Return
Code Name Description
0SUCCESS Command executed with no error
1 ERROR_OPEN_FILE Failed to open file
2ERROR_READ_FILE Failed to read file
3 ERROR_WRITE_FILE Failed to write to a file
4ERROR_CLOSE_FILE Failed to close a file
5 ERROR_INCORRECT_FILE Selected file is incorrect
6ERROR_INCORRECT_FILE_SIZE File size is incorrect
7 ERROR_UNSUPPORTED_HBA Adapter is unsupported