` Printed Icetips Article

Icetips Article



Par2: Class FileManager Class Functions and Error Procedures - Concordance
1998-06-25 -- Rob Keathley
 
Chart Key:
	H = Error is handled by ABC
	NH = Error is not handled or ignored by ABC 

Clarion LRM File Command: Open	Clarion ABC: Open()
	Error: File Not Found
	Errorcode(): 02
	Message Equate: H
	Error Level: Notify
	Tries to create file.
      If create fails it returns Msg:CreateFailed Level:Notify.
	
	Error: Too Many Open Files
	Errorcode(): 04
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Access Denied
	Errorcode(): 05
	Message Equate: H
	Error Level: Fatal
      It tries to recover the file. If it succeeds it just opens the file. 
      If it fails it returns Level:Fatal.
	
	Error:File Is Already Locked
	Errorcode(): 32
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Invalid Data File
	Errorcode(): 36
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Invalid Key File
	Errorcode(): 38
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		

	Error: Invalid File Name
	Errorcode(): 45
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Key Files Must Be Rebuilt
	Errorcode(): 46
	Message Equate: Msg:RebuildKey
 		             Msg:RebuildFailed
	Error Level: Notify 
		    Fatal
      It returns the Msg:RebuildKey message, then tries to rebuild the keys.
      If it fails it returns Level:Fatal.	
	
	Error: Invalid File Declaration
	Errorcode(): 47
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: File Already Open
	Errorcode(): 52
	Message Equate: H
	Error Level: Benign
     Just marks the file as open and reports no error.	
	
	Error: Invalid Clarion File
	Errorcode(): 53
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Invalid Memo File
	Errorcode(): 57
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Memo File is Missing
	Errorcode(): 73
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Invalid Field Type Descriptor
	Errorcode(): 75
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	
	Error: Unsupported Data Type In File
	Errorcode(): 79
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Invalid Key Length
	Errorcode(): 88
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		

	Error: File System Error
	Errorcode(): 90
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		
	
	Error: Build In Progress
	Errorcode(): 92
	Message Equate: Msg:OpenFailed
	Error Level: Fatal		

Clarion LRM File Command: Next	Clarion ABC: Next()
	Error: Record Not Available
	Errorcode(): 33
	Message Equate: H
	Error Level: Notify
     Returns Level:Notify and continues on with the program.	
	
	Error: File Not Open
	Errorcode(): 37
	Message Equate: Msg:AbortReading
	Error Level: Notify
      If TryNext() is used instead it returns Level:Fatal. 
      If Next() is used Msg:AbortReading is only Level:Notify.	
	
	Error: Record Is Already Held
	Errorcode(): 43
	Message Equate: Msg:RecordHeld
	Error Level: Notify		

Clarion LRM File Command: Previous	Clarion ABC: Previous()
	Error: Record Not Available
	Errorcode(): 33
	Message Equate: H
	Returns Level:Notify and continues on with the program.	
	
	Error: File Not Open
	Errorcode(): 37
	Message Equate: Msg:AbortReading
	Error Level: Notify
      If TryNext() is used instead it returns Level:Fatal. If Next() is 
      used Msg:AbortReading is only Level:Notify.	
	
	Error: Record Is Already Held
	Errorcode(): 43
	Message Equate: Msg:RecordHeld
	Error Level: Notify		

Clarion LRM File Command: Get	Clarion ABC: Fetch()
	Error: Record Not Found
	Errorcode(): 35
	Message Equate: H
	Error Level: Notify
      If record is not found it sets Level:Notify and then clears the file 
      buffer and returns to the program.	
	
	Error: File Not Open
	Errorcode(): 37
	Message Equate: NH			
	
	Error: Record Is Already Held
	Errorcode(): 43
	Message Equate: NH			

Clarion LRM File Command: Add	Clarion ABC: Insert()	
	Error: Access Denied
	Errorcode(): 05
	Message Equate: Msg:AddFailed
	Error Level: Notify		
	
	Error: File Not Open
	Errorcode(): 37
	Message Equate: Msg:AddFailed
	Error Level: Notify		
	
	Error: Creates Duplicate Key
	Errorcode(): 40
	Message Equate: Msg:DuplicateKey
	Error Level: Notify		

Clarion LRM File Command: Put	Clarion ABC: Update()
	Error: Access Denied
	Errorcode(): 05
	Message Equate: Msg:PutFailed
	Error Level: Notify		
	
	Error: Record Not Available
	Errorcode(): 33
	Message Equate: Msg:PutFailed
	Error Level: Notify		
	
	Error: Creates Duplicate Key
	Errorcode(): 40
	Message Equate: Msg:PutFailed
	Error Level: Notify		
	
	Error: Record Changed By Another Station
	Errorcode(): 89
	Message Equate: Msg:ConcurrencyFailed
	Error Level: Notify
      A Hold is issued and the buffer is re-freshed if PUT encounters 
      a WATCH violation.	

Clarion LRM File Command: Close	Clarion ABC: Close()
	Error: LOGOUT active
	Errorcode(): 56
	Message Equate: NH			
							
Chart Key:
H = Error is handled by ABC
NH = Error is not handled or ignored by ABC



Printed November 21, 2024, 7:29 am
This article has been viewed/printed 35218 times.