My Oracle Support Banner

E1: DB: Connection to Primary V7R3 AS400 Sever Fails with Error - "OS400QL009 - OpenSQLCursor:Open SQL cursor: Crsr3. QSQLMSG *LIBL - SQL0313 - Number of host variables not valid" (Doc ID 2301783.1)

Last updated on AUGUST 07, 2024

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

The issue is specific to V7R3 and specific to setups where there are multiple servers/LPAR's. If there is only one server/LPAR where all datasources point to same server this issue does not occur.


The issue surfaces when services are started on secondary server and it tries to connect to the primary server to fetch System table information. Primary server sends error code SQL0313 in-place of requested data to secondary server.


Error in kernel log:

Following configuration points have been verified but did not helped:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.