| Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - | 
			Contents
			Index
			 
		 | 
	
| Appendix N C APIs Used in V6.0L30 and Earlier | 
The following table lists the error codes that may be returned when using the C APIs provided by Shunsaku.
| 
 Error code  | 
 Meaning  | 
 User response  | 
|---|---|---|
| 
 -1  | 
 Cannot connect to host.  | 
 Check the host name or IP address and the port number of the connection destination. If they are all correct, wait a few moments and then rerun the command.  | 
| 
 -10  | 
 The service is not ready to receive a request.  | 
 Wait a few moments and then rerun the command.  | 
| 
 -11  | 
 The maximum number of simultaneous requests has been exceeded.  | 
 Wait a few moments and then rerun the command.  | 
| 
 -12  | 
 A timeout occurred while the system was waiting for a response.  | 
 Wait a few moments and then rerun the command.  | 
| 
 -13  | 
 The maximum number of items that can be updated, sorted or aggregated has been exceeded.  | 
 Wait a few moments and then rerun the command.  | 
| 
 -20  | 
 An error was found in the specification of a passed parameter.  | 
 Set the correct parameter and rerun the command.  | 
| 
 -21  | 
 A search expression syntax error occurred.  | 
 Check the input parameter search expression and rerun the command.  | 
| 
 -22  | 
 A return expression syntax error occurred.  | 
 Check the input parameter return expression and rerun the command.  | 
| 
 -23  | 
 A search expression size error occurred.  | 
 Check the length of the input parameter search expression and then rerun the command. (The size of the search expression must be from 1 to 65, 535 bytes.)  | 
| 
 -24  | 
 A return expression size error occurred.  | 
 Check the length of the input parameter return expression and then rerun the command. (The size of the return expression must be from 0 to 65, 535 bytes.)  | 
| 
 -25  | 
 A sort expression syntax error occurred.  | 
 Check the sort expression input parameter and rerun the command.  | 
| 
 -26  | 
 A sort expression size error occurred.  | 
 Check the length of the input parameter sort expression and rerun the command. (The size of the sort expression must be from 1 to 65, 535 bytes.)  | 
| 
 -27  | 
 There is an inconsistency between the content specified in the sort expression and the return expression.  | 
 Check the input parameter sort expression and return expression and then rerun the command.  | 
| 
 -30  | 
 The reply data storage area was insufficient. (*1)  | 
 Increase the size of the returned data storage area and perform the search again.  | 
| 
 -201  | 
 There is a problem with the Shunsaku environment.  | 
 Reinstall Shunsaku.  | 
| 
 -204  | 
 The addition processing has failed.  | 
 Check the content of the XML document and rerun the command. Check the status of the director server and rerun the command.  | 
| 
 -207  | 
 The deletion processing has failed.  | 
 Check the content of the conductor control information and the record identifier(s) and rerun the command.  | 
| 
 -208  | 
 The process that executes either the addition or deletion processing failed to start.  | 
 Check the status of the director server and rerun the command.  | 
| 
 -209  | 
 The addition process or the deletion process was interrupted.  | 
 Check the status of the director server and rerun the command.  | 
| 
 -210  | 
 Failed to open a work file.  | 
 Check the value of the WorkFolder parameter in the director environment file and rerun the command.  | 
| 
 -211  | 
 Failed to write to a work file.  | 
 Check the status of the disk specified in the WorkFolder parameter in the director environment file and rerun the command.  | 
*1) If error -30 occurs, reply data is not saved.
			Contents
			Index
			 
		 |