<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Receiving a &quot;Error code 153 Subscript out of Range&quot; error</title>
		<link>http://www.peoplesoftwiki.com/forum/t-159359/receiving-a-error-code-153-subscript-out-of-range-error</link>
		<description>Posts in the discussion thread &quot;Receiving a &quot;Error code 153 Subscript out of Range&quot; error&quot; - When running PSPBARUN suddenly we started getting the Subscript out of range error.</description>
				<copyright></copyright>
		<lastBuildDate>Wed, 08 Feb 2012 21:21:49 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-159359#post-853142</guid>
				<title>Re: Receiving a &quot;Error code 153 Subscript out of Range&quot; error</title>
				<link>http://www.peoplesoftwiki.com/forum/t-159359/receiving-a-error-code-153-subscript-out-of-range-error#post-853142</link>
				<description></description>
				<pubDate>Thu, 19 Aug 2010 04:37:52 +0000</pubDate>
				<wikidot:authorName>Abhishek</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Erro<strong>r while running Payroll process:<br /> Object Code error : file '/psoft/psofthrf/hr/psbdl90/cblbin/GPPUACCM.gnt'<br /> error code: 153, pc=0, call=1, seg=0<br /> 153 Subscript out of range (in GPCCMSGS.cbl, line 34)</strong>Cause<br /> The error occurs on the following line in GPCUMSGS:<br /> "IF NOT PYE-CALC-STAT-BYPASS-PMT OF DPDM(L-PMT-PTR)"<br /> Either the array(L-PMT-DATA) holding PYE-CALC-STAT-BYPASS-PMT count is less than L-PMT-PTR value OR L-PMT-PTR is passed as zero.<br /> GPCDPDM(L-PMT-DATA) refreshes at Payee level and 200 is the default value. This array holds the number of segments processed for a single payee including retro, current + one history row.<br /> Tables:<br /> GP_PYE_PRC_STAT<br /> GP_PYE_SEG_STAT<br /> An array with a refresh level of "Payee" will have its size tested by the most complex Payee encountered; the number of payees processed does not matter.<br /> Typically, the most challenging Payee will be the one with the most retro periods and/or payee data such as PI. These are usually the most difficult arrays to predict.<br /> Assuming the calendar in question is processing Retro as well. Occurs and Max size of L-PMT-MAX &amp; L-PMT-DATA in GPCDPDM increased to 50000, but payroll process run to same error which meant the L-PMT-PTR is not the culprit.</p> <p>On analyzing trace:</p> <hr /> <p>— Last SQL statement GPPUACCM_S_GETACTB [SELECT A.PIN_NUM ,A.PIN_MBR_NUM ,A.BGN_DT ,A.END_DT ,A.ACM_SIGN ,A.ENTRY_TYPE_PCT ,A.PCT_TO_ACM ,A.PIN_PCT_NUM ,B.ACM_TIMING_OPTN FROM PS_GP_ACM_MBR A, PS_GP_ACCUMULATOR B, PS_GP_PIN C WHERE A.PIN_NUM = B.PIN_NUM AND B.ACM_TIMING_OPTN &lt;&gt; '2' AND A.PIN_NUM = C.PIN_NUM AND C.PIN_NUM &lt; 50000000 AND (C.USED_BY = 'A' OR C.COUNTRY = :1) AND EXISTS (SELECT D.PIN_NUM FROM PS_GP_PIN D WHERE A.PIN_MBR_NUM = D.PIN_NUM AND (D.USED_BY = 'A' OR D.COUNTRY = :2) ) ORDER BY A.PIN_MBR_NUM, B.ACM_TIMING_OPTN, A.PIN_NUM] is aborting after fetching 13000 rows repeatedly.<br /> — Checked COBOL DEFINITIONS FOR PS_GP_ACM_MBR in GPPUACCM.cbl.<br /> — Copy book cobol for 'GPPUACCM_S_GETACTB' stored statement is GPCUACTB.<br /> — In copy book cobol file GPCUACTB array ACTB-CNT has been defined with Occurs and Max value as 13000.</p> <p>Solu<strong>tion<br /> 1. Open GPCUACTB.cbl file in edit mode.<br /> 2. Increase the MAX and OCCURS value of ACTB-CNT array from 13000 to 50000 in GPCUACTB.cbl file.<br /> 3. Save the GPCUACTB.cbl file.<br /> 4. Recompile all cobol file.</strong></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-159359#post-496719</guid>
				<title>Re: Receiving a &quot;Error code 153 Subscript out of Range&quot; error</title>
				<link>http://www.peoplesoftwiki.com/forum/t-159359/receiving-a-error-code-153-subscript-out-of-range-error#post-496719</link>
				<description></description>
				<pubDate>Mon, 01 Jun 2009 23:23:56 +0000</pubDate>
				<wikidot:authorName>Douglas B</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Working through Metalink now but our Sys admins don't know the linux commands to compile a source code with the listing option on.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-159359#post-494669</guid>
				<title>Re: Receiving a &quot;Error code 153 Subscript out of Range&quot; error</title>
				<link>http://www.peoplesoftwiki.com/forum/t-159359/receiving-a-error-code-153-subscript-out-of-range-error#post-494669</link>
				<description></description>
				<pubDate>Sat, 30 May 2009 12:48:49 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I imagine that you've already traced the process when this happens? I'm certainly no COBOL expert but I would suggest checking if the error is being caused by bad data?</p> <p>There seems to be some really good information in Metalink <a href="https://metalink3.oracle.com/od/faces/secure/km/DocumentDisplay.jspx?id=620884.1&amp;h=Y" >Doc ID 620884.1</a> that might be worth checking out.</p> <p>Also, a full recompile of all COBOLS and reloading of all stored statements from DMS might be helpful.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-159359#post-494212</guid>
				<title>Receiving a &quot;Error code 153 Subscript out of Range&quot; error</title>
				<link>http://www.peoplesoftwiki.com/forum/t-159359/receiving-a-error-code-153-subscript-out-of-range-error#post-494212</link>
				<description></description>
				<pubDate>Fri, 29 May 2009 20:22:19 +0000</pubDate>
				<wikidot:authorName>Douglas B</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>The error looks like this.</p> <blockquote> <p>Object Code error : file '/opt/psoft/pshcm/ptprd/cblbin/PSPBAELT.gnt'<br /> error code: 153, pc=0, call=1, seg=0<br /> 153 Subscript out of range (in PSPBAELT.cbl, line 8276)</p> </blockquote> <p>I have increased the occurs for PLAN-DATA in PSCPARTC copybook along with the max count but that doesn't seem to be the issue. Curious as to where I should check next.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
