Consultor Eletrônico



Kbase P115445: USRLIBL parameter size is too small when starting a connection to Progress/400 DataServer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/04/2006
Status: Unverified

FACT(s) (Environment):

Progress/400 DataServer
Progress 9.1C
OS/400 V5R1
OS/400 V5R2

SYMPTOM(s):

USRLIBL parameter size is too small when starting a connection to Progress/400 DataServer

Error CPF098A appears during connection to the DataServer broker (PROTCPBRK)

CPF098A: USRLIBL parameter size is too small.
The size of the USRLIBL parameter is not large enough to hold all of the libraries in the user portion of the thread's library list. The maximum number of libraries in the user portion of the library list is 250. Change the size of the USRLIBL parameter to 2750.

CAUSE:

IBM has increased the length of the user portion of the library list from 25 to 250 libraries effective in V5R1. In order to make use of it we would have to adjust our code (which will not happen). The error occurs during RTVJOBA command. Retrieving a user library list into a variable of insufficient length is causing a new escape message of CPF098A

FIX:

There are two possible options to workaround this issue:
1. Keep the user portion of the library list within 25 libraries limit.
2. In OS/400 V5R1 there is a new data area QLILMTLIBL in QUSRSYS that acts as a system wide switch allowing access only to the first 25 libraries in all the commands that support a library list parameter. It can be used to avoid the problem on V5R1 releases. This data area is not shipped with V5R2. Moreover it is being deleted during the upgrade from V5R1 to V5R2. However, it should be sufficient to save and restore this data area (after the install of V5R2), or recreate it. The functionality of the data area should be honored in V5R2, but not in any follow-on releases (V5R3, V5R4).