EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

Error debugging EBCDIC binary file in EGL Batch program

  • 1.  Error debugging EBCDIC binary file in EGL Batch program

    Posted Mon November 12, 2018 09:31 AM

    Im trying to debug an EBCDIC file, that I have downloaded binary to my RBD platform. The file contains some packed decimal values, that I must use in the program logic. Therefore the file is binary to preserve the content.

    I have created an *.eglbld file for my program, and I have for this file made a debug association with a "conversionTable" entry of CSOE277.

    However when I debug my EGL Batch  program, the file is not readable to the program in debug mode. Is there something I need to do in addition to this ?

    See attached file with the *.eglbld file setup

     

    PS. I have tried to use this statement in the code, and it works correctly:

            if(sysvar.systemType == "DEBUG")
                sysLib.convert(PAY-REC.PAY-ALL, remote, "CSOE277");
            end

     

    TIA

    Morten Hansen

    IBM Denmark

     

    mohaIBMDK


  • 2.  Re: Error debugging EBCDIC binary file in EGL Batch program

    Posted Tue November 13, 2018 05:50 AM

    Hi Moha,

     

    Did you have tried to change the preference EGL Debug Character encoding ?

    Hsieh