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 SEPTEMBER 25, 2018
Applies to:PeopleSoft Enterprise CS Campus Community - Version 9 and later
PeopleSoft Enterprise CS Financial Aid - Version 9 and later
PeopleSoft Enterprise CS Recruiting and Admissions - Version 9 and later
PeopleSoft Enterprise HCM Payroll for North America - Version 9 and later
PeopleSoft Enterprise CS Student Financials - 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 contains a video presentation that explains how to diagnose such a problem. You will learn how to find the array that is being exceeded and how to increase it's size. You will also learn how to use a Display statement within the COBOL job in order to determine the best size for the array for your own situation.
This article is applicable to any Peoplesoft product that uses COBOL
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