Error Code 23 - CPI-C Return Codes
This list includes the most common return codes issued with a communications error code (Lce0023) returned by LANSA Open when using the CPI-C communication method (i.e. MS Host Integration Server, Network Services for DOS).
Some of the return codes associated with the allocation of a conversation have the suffix RETRY or NO_RETRY in their name:
- RETRY means that the condition indicated by the return code may not be permanent and the program can try to allocate the conversation again. Whether or not the retry attempt succeeds depends on the duration of the condition.
- NO_RETRY indicates that the condition is probably permanent.
Please note that LANSA Open always returns the error codes in hexadecimal format. This documentation lists the error codes in decimal format, so you need to convert the returned code to decimal format before looking up the error in this table.
Dec Value
|
Description
|
Reason for error
|
6
|
SECURITY_NOT_VALID
|
Userid/password combination invalid (i.e. user profile has not been defined in the host or this is an incorrect password for the userid - note that passwords are case sensitive for Windows, Linux and non-IBM i hosts). No job could be started in the Host, so don't look for a job log.
|
17
|
DEALLOCATED_ABEND
|
1. LANSA program library not in user's job description's initial library list.
2. When I/O module was compiled, settings *IOMXSERVER, *IOMBLOCKBYKEY and *IOMBLOCKBYRRN were missing in DC@OSVEROP data area. (Refer to MCH0802 in the job log).
3. Other causes may be discovered in the IBM i Job Log or Windows Application Event Log.
|
18
|
DEALLOCATED_NORMAL
|
1. Partition doesn't exist or user is not authorized for the partition.
2. File doesn't exist or the user is not authorized for the file.
3. Language used is not defined in the partition.
4. Other causes may be discovered in the IBM i Job Log or Windows Application Event Log.
|
19
|
PARAMETER_ ERROR
|
On the Host Integration Server, use SNA Server Admin. to add a LU6.2 partner relationship between the "Local LU" and "Partner LU" which has a MODE of "BLANK".
|
20
|
PRODUCT_ SPECIFIC_ERROR
|
As for Error 19 (PARAMETER_ERROR).
|
24
|
PROGRAM_ PARAMETER-CHECK
|
Most likely cause is that the userid or password is more than 8 characters. SNA requires userids and passwords to be a maximum of 8 characters.
|
26
|
RESOURCE_ FAILURE_NO_ RETRY
|
Most likely cause is hardware failure. Check the connections (cabling) between PC and host.
|
27
|
RESOURCE_ FAILURE_RETRY
|
PC has run out of memory. Confirm by opening a session with no declarations. Reduce the number of applications loaded when the system starts.
|
|