My Oracle Support Banner

How to Diagnose Error 153 (Subscript Out of Range or Array Size Exceeded) in a COBOL job [Video] (Doc ID 1153577.1)

Last updated on MAY 05, 2023

Applies to:

PeopleSoft Enterprise HCM Payroll for North America - Version 9 and later
PeopleSoft Enterprise HCM Benefits Administration - Version 9 and later
PeopleSoft Enterprise HCM Absence Management - Version 9 and later
PeopleSoft Enterprise PT PeopleTools - Version 8.40 and later
PeopleSoft Enterprise HCM Pay/Bill Management - Version 9 and later
Information in this document applies to any platform.


The following three error messages produced by a failed COBOL job generally will indicate the same problem:

Error 153 (Text not found)
Error 153 (Subscript Out of Range)
Array Size Exceeded

When any of these three errors are thrown, the problem is generally going to be that an array, setup within a COBOL job's working storage section, has been exceeded by data coming in to the program by way of a SQL Select statement or through the internal manipulation of data within the COBOL job.  When an array has been exceeded, it is necessary to increase the size of the array enough to handle the data while not consuming resources. 


This article is applicable to any Peoplesoft product that uses COBOL

Troubleshooting Steps

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
Troubleshooting Steps

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