Topic
2 replies Latest Post - ‏2013-06-24T09:44:35Z by MoonTech
MoonTech
MoonTech
16 Posts
ACCEPTED ANSWER

Pinned topic Egl cobol crash in call sentence because of null pointers

‏2013-06-18T22:45:57Z |

Looks like the cobol ile generated from egl use the global area to put and get parameters in the global area of the cobol programa

in some prgrams, the call crash because it gets null pointers recovering data from the global area

 

The code is migrated from visual age generátor

 

the problem is only related to some programs. 

 

Is there a known issue related to this ?

 

 

Updated on 2013-07-05T12:50:18Z at 2013-07-05T12:50:18Z by MoonTech
  • NEXTEL_Developer
    NEXTEL_Developer
    1 Post
    ACCEPTED ANSWER

    Re: Egl cobol crash in call sentence because of null pointers

    ‏2013-06-20T10:52:07Z  in response to MoonTech

    We are generating cobol for iSeries Cobol ILE with RBD 8.5.

    The egl program is working fine, but when we run the cobol we randomly get a pointer referencing to a not existing zone in memory. We get the error in the initialization of the program, before any EGL sentence is executed.

    The pointer that is wrong is the one bold:

           01  EZEGSV-PGMNAME GLOBAL.
               02  EZEGSV-PGMNAME-P-X USAGE IS POINTER.
               02  EZEGSV-PGMNAME-P-A USAGE IS POINTER.
     

    And the sentence in which we get the error is in the section (EZELIB-LOOKUP-LIBRARY SECTION.):

    SET EZEGSV-PGMNAME-P-A TO EZE-LIBRARY-RECORD-EZEGSV IN EZE-LIBRARY-LIST-RECORD

     

     

    Updated on 2013-06-20T10:54:14Z at 2013-06-20T10:54:14Z by NEXTEL_Developer
  • MoonTech
    MoonTech
    16 Posts
    ACCEPTED ANSWER

    Re: Egl cobol crash in call sentence because of null pointers

    ‏2013-06-24T09:44:35Z  in response to MoonTech

    Look s like this problem got solver with RBD 8.5.1