Error: Array overflow condition encountered

Periodic Process or Calculation returns “Array overflow condition encountered” error message (16005,27009).

Root Cause

This message is returned whenever one of many different possible COBOL Arrays has been exceeded.

The message does not show which Array was exceeded, but the program name, program section, and array message are included in the application trace output. This is a display statement, so the output is included even when the application trace is inactivated.

Errors reported from the Service program (PAPCSRVC) are the exception, and no additional application trace output is included. When the Array is exceeded, the SQL executing at the time is saved in the message log parameters but not displayed within the message.

Solutions

Identify the Array exceeded (see conditions below).

If possible, estimate the required array size (follow the link to the relevant Array Knowledge Base article).

Increase the appropriate array size, change the configuration if applicable, or remove employee data to resolve.

Hints

Not all Array problems use this message. This message applies primarily to Arrays populated in PAPCRSQL or PAPPRSQL.

Message Log Enhancement includes the additional message fields for identifying the exceeded Array.

More to come…

Details

Message Set/Number: 16005,27009

Warning Message: Array overflow condition encountered

Programs: PAPCRSQL, PAPCSRVC, PAPPRSQL

Message Pointer: S-MSG-ARRAY-OVERFLOW

Conditions

Exceeding Function Results Per Plan Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL
S-MSG-PGM-PARAGET-CALC-PROC
S-MSG-LUCID-MSG:
MSG-ERR-PROC-MAX
Calc Prc Lst Exceeds Tbl Max.
Message Instance – 1

Related Message Pointer: S-MSG-RSQL-ERR-PROC-MAX

Related SQL Statement: PAPCRSQL_S_PROC

Exceeding Benefit Plans for Calculation (3) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL
S-MSG-PGM-PARAGET-CALC-PLAN-DATA
S-MSG-LUCID-MSG:
MSG-ERR-CALCPLN-MAX
Calc Plan Inpts Exceed Tbl Max
Message Instance – 2

Related Message Pointer: S-MSG-RSQL-ERR-CALCPLN-MAX

Related SQL Statement: PAPCRSQL_S_PLAN1

Exceeding Definitions in a Function Result (5) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL
S-MSG-PGM-PARAGET-FNCRSLT
S-MSG-LUCID-MSG:
MSG-ERR-RSLT-MAX
Calc Function Results Exceeds Tbl Max.
Message Instance -3

Related Message Pointer: S-MSG-RSQL-ERR-RSLT-MAX

Related SQL Statement: PAPCRSQL_S_RSLT

Exceeding USDB Pension Plan History (6) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL
S-MSG-PGM-PARAGET-PLAN-HIST
S-MSG-LUCID-MSG:
MSG-ERR-PLAN-HIST-MAX
Plan History Exceeds Tbl Max
Message Instance – 4

Related Message Pointer: S-MSG-RSQL-ERR-HIST-MAX

Exceeding Function Fields Per Result (8) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL
S-MSG-PGM-PARAGET-PROCFLD
S-MSG-LUCID-MSG:
MSG-ERR-PROCFLD-MAX
Calc prc Fld Exceeds Tbl Max.
Message Instance – 5

Related Message Pointer: S-MSG-RSQL-ERR-PROCFLD-MAX

Related SQL Statement: PAPCRSQL_S_PROCFLD

Exceeding Job Data (200) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL
S-MSG-PGM-PARASELECT-JOB
S-MSG-LUCID-MSG:
MSG-ERR-JOB-MAX
Employee Job Records Exceeds Tbl Max.
Message Instance – 6

Related Message Pointer: S-MSG-RSQL-ERR-JOB-MAX

Related SQL Statement: PAPCRSQL_S_JOB

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL / PAPPRSQL
S-MSG-PGM-PARASELECT-ELIGACT
S-MSG-LUCID-MSG:
MSG-ERR-JOB-MAX
Employee Job Records Exceeds Tbl Max.
Message Instance – 7,8

Related Message Pointer: S-MSG-RSQL-ERR-JOB-MAX

Related SQL Statements: PAPCRSQL_S_ELIGACT, PAPPRSQL_S_ELIGACT

Exceeding Primary Job Overrides (202) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL / PAPPRSQL
S-MSG-PGM-PARABLD-OVERRIDE-TIMELINE
S-MSG-LUCID-MSG:
MSG-ERR-OVRD-JOB-MAX
Employee Override Job Records Exceeds Tbl Max.
Message Instance – 9,10

Related Message Pointer: S-MSG-OVRD-JOB-MAX

Related SQL Statements: PAPCRSQL_S_OVRD, PAPPRSQL_S_OVRD

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL / PAPPRSQL
S-MSG-PGM-PARABLD-REST-TIMELINE
S-MSG-LUCID-MSG:
MSG-ERR-PRIM-JOB-MAX
Employee Primary Job Records Exceeds Tbl Max.
Messsage Instance – 11,12

Related Message Pointer: S-MSG-PRIM-JOB-MAX

Exceeding Active Jobs (203) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL / PAPPRSQL
S-MSG-PGM-PARAGET-ACTIVE-REC
S-MSG-LUCID-MSG:
MSG-ERR-ACT-JOB-MAX
Employee Eligible Job Records Exceeds Tbl Max.
Message Instance – 13,14

Related Message Pointer: S-MSG-ACT-JOB-MAX

Related SQL Statements: PAPCRSQL_S_ELIGJOB, PAPPRSQL_S_ELIGJOB

Exceeding Multi-Job Eligibility Rows (204) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL / PAPPRSQL
S-MSG-PGM-PARAGET-ELIGIBLE-REC
S-MSG-LUCID-MSG:
MSG-ERR-ELIG-JOB-MAX
Employee Eligible Job Records Exceeds Tbl Max.
Message Instance – 15,16

Related Message Pointer: S-MSG-ELIG-JOB-MAX

Related SQL Statements: PAPCRSQL_S_ELIGJOB, PAPPRSQL_S_ELIGJOB

Exceeding Active Job Periods (205) Array

Results in the following application trace output:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCRSQL / PAPPRSQL
S-MSG-PGM-PARAGET-ELI-REC
S-MSG-LUCID-MSG:
MSG-ERR-ELIG-ACT-JOB-MAX
Employee Elig Act Job Records Exceeds Tbl Max.
Message Instance – 17,18

Related Message Pointer: S-MSG-ELIG-ACT-JOB-MAX

Exceeding Service Adjustments (302) Array

Additional application trace output is not returned for errors in PAPCSRVC, but additional parameters may be saved to the message log parameters table:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCSRVC
S-MSG-PGM-PARASI120-GET-EXTERNAL-ADJUST
MESSAGE-PARM(1)RTNCD
MESSAGE-PARM(2)SQL-STMT OF S-PADJUST
Message Instance – 19

Related SQL Statement: PAPCSRVC_S_PADJUST

Exceeding Service Purchase Adjustments (303) Array

Additional application trace output is not returned for errors in PAPCSRVC, but additional parameters may be saved to the message log parameters table:

Program VariableApplication Trace Output
S-MSG-PGM-NMPAPCSRVC
S-MSG-PGM-PARASI620-GET-SVC-PRCH-ADJUST
MESSAGE-PARM(1)RTNCD
MESSAGE-PARM(2)SQL-STMT OF S-ESTADJ
Message Instance – 20

Related SQL Statement: PAPCSRVC_S_ESTADJ

Was this article helpful?

Related Articles

Leave a Reply