Model error PLI3401 on YALCSGTR1I file YLSTSGTNXP
search cancel

Model error PLI3401 on YALCSGTR1I file YLSTSGTNXP

book

Article ID: 130178

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

When attempt to access a CA 2E model after upgrading from 8.5 to 8.7, receive the following error: 

PLI3804 -   Message . . . . :   Key raised at 8 in YALCSGTR1I  ONCODE 51
Cause:   A key condition was raised for file YLSTSGTNXP .  The record for specified key '3' cannot be found for the file YLSTSGTNXP in library <model_name>.

Environment

CA 2E 8.7

Resolution

The YLSTSGTNXP file in the <model_name> referenced library does not contain the 3rd record, which leading to this issue.  

The reason why this worked in CA 2E 8.6 and prior, but is causing problems in CA 2E 8.7 is because of code changes related to problem C22E 524

As part of these changes, modifications have been made to perform session surrogate allocation utilizing the 3rd record within the YLSTSGTNXP file.

Earlier, the st record was getting incremented for the session surrogate. For that matter, these changes are also part of CA 2E 8.6 CUM PTF Cl. 

For this problem, the 3rd record does not exist in the YLSTSGTNXP file. So when a new session is being started, the system is attempting to allocate the next surrogate number for the session using the 3rd record.  However, since the 3rd record does not exist, the process is failing and leading to the error. 

To overcome this error, do the following.

  1. RGZPFM FILE(model_name/YLSTSGTNXP)
  2. YWRKF FILE(model_name/YLSTSGTNXP)
  3. Take option “F9=Add record”
  4. Add a new record with value: 1100025. The 3rd record in the YLSTSGTNXP file will now be incremented for every new session that a user tries to enter into.