<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cobol 114 error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454879#M728323</link>
    <description>...and this.</description>
    <pubDate>Fri, 20 Oct 2000 13:46:52 GMT</pubDate>
    <dc:creator>Pete Conneely</dc:creator>
    <dc:date>2000-10-20T13:46:52Z</dc:date>
    <item>
      <title>Cobol 114 error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454876#M728320</link>
      <description>We are getting the following error&lt;BR /&gt;&lt;BR /&gt;114     Attempt to access item beyond bounds of memory (Signal 11)&lt;BR /&gt;&lt;BR /&gt;After some clib patches we are now getting this error&lt;BR /&gt;&lt;BR /&gt;114     Attempt to access item beyond bounds of memory (Signal 10)&lt;BR /&gt;&lt;BR /&gt;Can anyone shed some light on this?&lt;BR /&gt;&lt;BR /&gt;PS: I always award points for good answers :-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2000 08:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454876#M728320</guid>
      <dc:creator>Anthony Goonetilleke</dc:creator>
      <dc:date>2000-10-18T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cobol 114 error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454877#M728321</link>
      <description>Found some info on the main causes of the original signal 11 error if any help ? :&lt;BR /&gt;&lt;BR /&gt;they seem to tie up with signal 10's main causes ie memory allocation problems.&lt;BR /&gt;&lt;BR /&gt;What version of cobol / OS have you a snippet of code you could post/attach ?&lt;BR /&gt;&lt;BR /&gt; This error typically happens when running Cobol programs that call C programs&lt;BR /&gt;or database applications.  The first thing to look at is two kernel parameter&lt;BR /&gt;settings:  maxdsiz and maxssiz.  The system default of maxdsiz is usually set&lt;BR /&gt;to 16 mg and maxssiz is usually set to 8 mg, this is not enough for large&lt;BR /&gt;applications.  Try setting maxdsiz to 500 mg and maxssiz to 64 mg.  Keep in&lt;BR /&gt;mind that you cannot set maxdsiz higher than what swap is configured to.&lt;BR /&gt;Changing these parameters will require a re-boot of the system.  Re-test the&lt;BR /&gt;application after the changes have been made.  This should work but not in all&lt;BR /&gt;cases, you may need to increase them more or contact the response center for&lt;BR /&gt;further investigation.&lt;BR /&gt;&lt;BR /&gt;A second possible cause of this error is when a subscript tries to access an&lt;BR /&gt;element of a defined array outside the bounds of that array.  For example, if&lt;BR /&gt;you have defined a 100 element array called PRICELIST, the statement:&lt;BR /&gt;  MOVE 1 TO PRICELIST(101)&lt;BR /&gt;will cause this error. Always be sure to check the range of a variable before&lt;BR /&gt;using it to access an array.&lt;BR /&gt;&lt;BR /&gt;A third possible cause of this error could be due to incorrect linkage&lt;BR /&gt;definitions between a calling program and a called module.  Each element in the&lt;BR /&gt;linkage must be defined the same way in each program and called in the same&lt;BR /&gt;order.  For example, a main program will use two elements, PARTNAME pic x(10),&lt;BR /&gt;and PARTPRICE s9(4).99.   If it calls a module as: CALL NEWPROG USING PARTNAME,&lt;BR /&gt;PARTPRICE   then NEWPROG should have a procedure statement like: PROCEDURE&lt;BR /&gt;DIVISION USING PARTNAME, PARTPRICE and have them defined the same way in theLINKAGE section.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2000 09:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454877#M728321</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-10-18T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cobol 114 error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454878#M728322</link>
      <description>I hope the attached is useful</description>
      <pubDate>Fri, 20 Oct 2000 13:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454878#M728322</guid>
      <dc:creator>Pete Conneely</dc:creator>
      <dc:date>2000-10-20T13:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cobol 114 error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454879#M728323</link>
      <description>...and this.</description>
      <pubDate>Fri, 20 Oct 2000 13:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454879#M728323</guid>
      <dc:creator>Pete Conneely</dc:creator>
      <dc:date>2000-10-20T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cobol 114 error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454880#M728324</link>
      <description>I've also seen instances where the 114 error is a side affect of an error within a C module called from a COBOL module, especially if you have your own C modules linked into your own rts.&lt;BR /&gt;&lt;BR /&gt;If you animate your COBOL module, then step through it and find that you are getting the error on a call to a C module, that's a clue.  At this point it's either a data mismatch (as discussed in previous posts) or a possible error in the C code.</description>
      <pubDate>Tue, 16 Jan 2001 15:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454880#M728324</guid>
      <dc:creator>Jon McDermott</dc:creator>
      <dc:date>2001-01-16T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cobol 114 error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454881#M728325</link>
      <description>Anthony,&lt;BR /&gt;&lt;BR /&gt;Does your error appear when running int, gnt or an executable compiled version of the code. Try running under the other versions.&lt;BR /&gt;&lt;BR /&gt;What version of COBOL are you running? Type cobrun to find version.&lt;BR /&gt;&lt;BR /&gt;If you are not on B.12.40 for HPUX 10.20 or B.13.40 for HPUX 11.0 please upgrade as this has solve some RTS 114 errors before.&lt;BR /&gt;&lt;BR /&gt;I am affraid that RTS 114 error is one of the generic errors given to cover a cross section of problems. Some of the problems are solved by upgrading but others can be fixed by small changes in the code or changes to versions of database being used.&lt;BR /&gt;&lt;BR /&gt;One way to solve the problem is to isolate the piece of code causing the RTS 114 error and rewrite the code in a differnet way. The syntax may be correct but trying another method may work.&lt;BR /&gt;&lt;BR /&gt;The documents that Peter Conneeley has supplied to you are the main areas to look at with RTS 114 errors.&lt;BR /&gt;&lt;BR /&gt;Happy coding&lt;BR /&gt;&lt;BR /&gt;Keith.</description>
      <pubDate>Tue, 06 Feb 2001 14:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cobol-114-error/m-p/2454881#M728325</guid>
      <dc:creator>Keith Hughes_2</dc:creator>
      <dc:date>2001-02-06T14:45:42Z</dc:date>
    </item>
  </channel>
</rss>

