Git Product home page Git Product logo

Comments (4)

n-isaka avatar n-isaka commented on August 16, 2024

Hi, Hans.

Sorry for the late reply...

It is syntex error in ocesql precompir at word IS in ASCENDING KEY IS T98-ROWID.

By removing IS, can precompile this source.

   01 T98-TAB.
     05 T98-ROWID-LAST        PIC  9(009) COMP-5 VALUE ZERO.
     05 T98-ROWID-NEW         PIC  9(009) COMP-5 VALUE ZERO.
     05 T98-TAB-CACHE  OCCURS 100
        DEPENDING ON Z-T98-EINTRAEGE
        ASCENDING KEY T98-ROWID
        INDEXED BY I-TAB.

How about this?

from open-cobol-esql.

GitMensch avatar GitMensch commented on August 16, 2024

The workaround is nice, but where would be the place to fix that in the ocesql source?

from open-cobol-esql.

GitMensch avatar GitMensch commented on August 16, 2024

The main reason for this issue is found in #25.

from open-cobol-esql.

GitMensch avatar GitMensch commented on August 16, 2024

@n-isaka wrote

It is syntex error in ocesql precompir at word IS in ASCENDING KEY IS T98-ROWID.

By removing IS, can precompile this source.

   01 T98-TAB.
     05 T98-ROWID-LAST        PIC  9(009) COMP-5 VALUE ZERO.
     05 T98-ROWID-NEW         PIC  9(009) COMP-5 VALUE ZERO.
     05 T98-TAB-CACHE  OCCURS 100
        DEPENDING ON Z-T98-EINTRAEGE
        ASCENDING KEY T98-ROWID
        INDEXED BY I-TAB.

Are you sure? The parser does not contain the KEY phrase at all (neither does it contain DEPENDING [ON] var or INDEXED [BY] var).

Adding those to the parser with a plain "ignore" as result would be useful.
@yutaro-sakamoto What is your take on this?

from open-cobol-esql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.