ascdcode man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

ASCDCODE(8)							   ASCDCODE(8)

NAME
       ascdcode - print error message for ASC/ASCQ error codes

SYNOPSIS
       ascdcode [ -o vendor id [ -p product id ] ] ASC ASCQ

DESCRIPTION
       The  ascdcode  program interprets Additional Sense Code (ASC) and Addi‐
       tional Sense Code Qualifier (ASCQ)  data	 and  returns  an  appropriate
       error  message.	The ascdcode program returns interpreted ASC/ASCQ data
       either for the named vendor  and	 product  IDs  (with  the  -o  and  -p
       options),  or  for  all	libraries  or devices as defined in the SCSI-3
       Specifications (http://www.ncits.org) or individual vendors.  For unim‐
       plemented  ASC/ASCQ codes, the ascdcode program will return the message
       Not implemented.

OPTIONS
       -o vendor id
	      Checks to see if the vendor is an OEM and looks up the  ASC/ASCQ
	      error  codes  defined original vendor for the library or device.
	      If the -p option is not specified, ascdcode will	return	vendor
	      specific	information  for  the	 vendor id specified with this
	      option.  The  vendor id should be identical to the vendor string
	      reported	when you run the inquire program.  For a complete list
	      of    vendor    ID    assignments,    see	   the	  web	 page:
	      http://www.t10.org/lists/vid-alph.htm.	This  option  is  only
	      applicable to vendor specific ASC/ASCQ codes of value(s) greater
	      than 0x7f.

       -p product id
	      Use  with	 -o  to	 provide a library or device type with the OEM
	      vendor.  The  product id should be identical to the  library  or
	      device string reported when you run the inquire program.

	    The ASC argument should be the first of the pair of ASC/ASCQ error
	    codes reported by the library or  device.	You  may  specify  the
	    value  as  a  hexadecimal number by preceding the value with  0x .
	    The default value is assumed to be a decimal value.

	    The ASCQ argument should be the latter of  the  pair  of  ASC/ASCQ
	    error  codes  reported  by the library or device.  You may specify
	    the value as a hexadecimal number by preceding the value with   0x
	    .  The default value is assumed to be a decimal value.

FILES
       /INSTALL_PATH/lgtovendors
		 The directory where the vendor specific files are installed.

       /INSTALL_PATH/lgtovendors/OEM_MAP
		 The  file that maps OEM vendors and their corresponding prod‐
		 ucts to original vendors.  See the file for a description  on
		 how to add entries for new OEM vendors and products.

SEE ALSO
       libscsi(8)

LIMITATIONS
       The ascdcode program always uses the installed vendor specific files to
       look up vendor  specific	 error	messages.   Formatting	convention  of
       ASC/ASCQ	 error codes and their corresponding error text in these files
       are of the form:

	      0x[ASC], 0x[ASCQ], [error message]

NetWorker 7.3.2			  Aug 23, 06			   ASCDCODE(8)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net