0 - 9999	ADDE general error conditions (all subsystems)
-------------	----------------------------------------------

 -1    		Accounting data not acceptible to this host (server_main)
 -2    		Transaction type not supported by this host (server_main)

 -5    		Cant find requested data (LWPR)
 -95   CXWRIT         Write to server failed
 -96   CXREAD         Communications with the server timed out
 -97   CXREAD         Communications with the server are terminated
 -98   CXOUT          CXCOMM  could not find program module - install err
 -99   C1SERV         soc_init() failed, TCPIP not installed or not active
 -100  mcserv         Cannot connect to foreign host
 -101  mcserv         socket() call failed, (this should not happen)
 -102  mcserv         Initial transmit to server failed, host or network died
 -103  CXOUT          CXADDR found a bad SERVER.RTE file
 -104  mcserv         Bad command arguments to c1serv
 -105  mcserv         Cannot open null device (should not happen)
 -106  mcserv         dup() returrned an error (should not happen)
 -107  mcserv         server running as ROOT: etc/inetd/conf in error
 -108  mcserv         Cannot find password entry
 -109  mcserv         malloc() failed  (should not happen)
 -110  mcserv         putenv() failed  (should not happen)
 -111  mcserv         error in prefixing MCPATH
 -112  mcserv         error prefixing PATH
 -113  mcserv         error trying to chdir
 -114  mcserv         server requested was not found
 -115  mcserv         server requested can not execute
 -116  mcserv         wrong protocol version found
 -117  all(?)	   	unable to inititalize McIDAS environment
 -501  all (?) 		invalid dataset name format
 -118  all (?) 		unable to resolve dataset name 

**************************************************************
			IMAGE		
**************************************************************
10000 - 19999   ADDE Image error conditions
-------------	----------------------------------------------

11000 - 11999   Image Get servers
-------------	----------------------------------------------
 -11000   AGET        No area found to fit search criteria
 -11001   AGET        Navigation error
 -11002   AGET        Requested location not in area
 -11003   AGET        Band not present
 -11004   AGET	      Cal not present
 -11005   AGET        SU= name not found
 -11006   AGET        More than 200 areas and time-ordered search was requested
 -11007   AGET	      units requested not available for image
 -11008	  AGET	      VASTBLS file missinga
 -11009   AGET	      calibration block is too large
 -11010	  AGET	      requested protion of image does not exist
 -11011	  AGET	      BAND keyword  on multi-banded image
 -35   CXAGET         Bad descriptor in a SORT clause
 -36   CXAGET         MAXBYT too small for returned line
 -37   CXAGET         Illegal format requested, not I1, I2, I4
 -38   CXAGET         An entry point of CXAGET was called with a bad handle
 -39   CXAGET         Too many AREAS open at a time                          

12000 - 12999	Image Directory servers
-------------	----------------------------------------------
 -50   ADIR           Can't resolve AREA names
 -51   ADIR           No AREAs found fitting selection criteria
 -52   ADIR           Can't search this many AREA directory entries
 -53   CXADIR         Bad TIME clause
 -54   ADIR	      Maximum size of AUX block buffer exceeded

13000 - 13999   Image Put servers
-------------	----------------------------------------------
-13001 aput	      Error writing area directory
-13002 aput	      Error changing area directory
-13003 aput	      Error writing area navigation
-13004 aput	      Error writing area calibration
-13005 aput	      Error writing area lines
-13006 aput 	      Error writing comment cards

14000 - 14999	Image Token servers
-------------	----------------------------------------------
 -80   ATOK           Area WQP protection violation
 -81   ATOK           Area number out of valid range
 -82   ATOK           Name of area object was not recognized

**************************************************************
			GRID		
**************************************************************

20000 - 29999	ADDE Grid error conditions
-------------	----------------------------------------------

21000 - 21999   Grid Get servers
-------------	----------------------------------------------
 -11   GGET           FNDGRD could not find the grid file
 -12   GGET           FNDGRD could not find the grid
 -13   GGET           IGGET call failed
 -17   CXGGET         A unit conversion requested could not be done
 -18   CXGGET         unknown sort condition was specified
 -19   CXGGET         GRID and PARAM cant both be specified on sort
-21001  gget	      	No grid found matching search conditions
-21001  gget	      	Maximum number of sort conditions exceeded 
-21003  gget		Invalid server version specified
-21004	gget		Invalid server request format
-21005	gget		Invalid keyword specified
-21006  gget		Maximum Days exceeded
-21007  gget		Maximum Times exceeded
-21008  gget		Maximum Forecast Hours exceeded
-21009  gget		Grid file does not exist
-21010  gget		Invalid grid file specified
-21011  gget		Invalid grid number specified
-21012  gget		No grids in grid file
-21020   GGET           Client MAXWDS is too large for server
22000 - 22999	Grid Directory servers
-------------	----------------------------------------------
-22001  gdir	      	No grid found matching search conditions
-22002  gdir	      	Maximum number of sort conditions exceeded 
-22003  gdir	     	Invalid version number specified 
-22004	gdir		Invalid server request format
-22005	gdir		Invalid keyword specified
-22006  gdir		Maximum Days exceeded
-22007  gdir		Maximum Times exceeded
-22008  gdir		Maximum Forecast Hours exceeded
-22009  gdir		Grid file does not exist
-22010  gdir		Invalid grid file specified
-22011  gdir		Invalid grid number specified

23000 - 23999   Grid Put servers
-------------	----------------------------------------------
-23001  gput		Could not create gridfile for writing
-23002  gput		Failed to write any grids to gridfile
-23003  gput		Write fail after some grids were written

24000 - 24999	Grid Token servers
-------------	----------------------------------------------


**************************************************************
			POINT SOURCE		
**************************************************************

30000 - 39999	ADDE Point Source error conditions
-------------	----------------------------------------------

31000 - 31999   Point Source KEY get servers
-------------	----------------------------------------------
-31000	mdks	Invalid MD file number
-31001  mdks    Invalid server request format
-31002  MDKS    Can't open MD file
-31003  mdks	invalid value for low range argument 
-31004  mdks	Invalid MAX keyword value
-31005  MDKS    An invalid key was specified on a sort condition
-31006  MDKS    An invalid unit was on a sort specification
-31007  MDKS    One or more requested return keys is not available
-31008  MDKS    Error searching MD file (MDSIN) 
-31009  mdks	Error in syntax of LIST sort condition
-31010	mdks	error in internal parsing routines
-31011  mdks	error, too many list sort specified
-31012  mdks	unit conversion failure due to incorrect parameter format
-31013  mdks	invalid KEY value entered
-31014  mdks	invalid position specified
-31015  mdks	invalid value in range specified 'TO' needed to specify range
-31016  mdks	invalid value for high range argument
-31017	mdks	invalid unit format specified for range syntax
-31018  mdks	invalid unit format for list syntax 
-31019  mdks	error retrieving comma separated list
-31020  mdks	error retrieving values from comma separated list
-31021  mdks	Problem retrieving values
-31022  mdks	invalid position entered
-31023  mdks	Files not valid to use with Position 0
-31024  mdks	Files not found with DAY keyword
-31025  mdks	Problem picking up low value of Day range
-31026  mdks	Problem picking up high value of Day range
-31027  mdks	Files in dataset must be same SCHEMA type
-31028  mdks	Problem parsing individual DAY value
-31029  mdks	Too many days specified in search
-31030  mdks	No files found for date(s) specified
-31031  mdks	First value invalid for range
-31032  mdks	No data found matching search conditions
-31033  mdks	Files in dataset must be same SCHEMA type
-31034  mdks    Invalid parameter mapping

 -25   CXMDKS         A unit conversion was requested which could not be done
 -26   CXMDKS         Error specifying a LIST as a sort condition
 -27   CXMDKS         An invalid format specifier was given: not I, F, or C.
 -28   CXMDKS         Too many sort clauses were specified. Current max is 20
 -29   CXMDKS         The SIZE parameter is smaller than the return vector



**************************************************************
			TEXT		
**************************************************************

40000 - 49999	ADDE Text error conditions
-------------	----------------------------------------------
-41502		Memory allocation error
-41801		Not enough room in the output string for line

-49500		GROUP/DATASET or File not in client request string
-49501 		Unable to parse request string
-49502		Unable to extract name of the file from RESOLV.SRV
-49601 		Unable to resolve name with MCPATH or REDIRECT
-49602		Unable to open requested file
-49603		Dataset not of type TEXT



  0   various        Successful return
 +1   various        End-of-data condition. No data was returned