Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Db2 binary host variable support #2337

Merged

Commits on Jun 12, 2024

  1. Add support for Binary Host Variables

    Adds support for binary host variable declarations for DB2 within COBOL conforming to the IBM standard for their preprocessor.
    mm-broadcom committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    39ac9ec View commit details
    Browse the repository at this point in the history
  2. Added bounds check per IBM documentation

    Added bounds check per IBM's documentation for BINARY and VARBINARY types for their DB2 preprocessor.
    mm-broadcom committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    9a442d8 View commit details
    Browse the repository at this point in the history
  3. Removed duplicate error warnings

    Simplified the errors given to the end user. No need to tell them twice that negatives are not allowed.
    mm-broadcom committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    acbb561 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    066bba1 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Add unit tests, better range checking

    Add unit tests and changed the range check to an easier to read and understand function.
    mm-broadcom committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    e6c4be5 View commit details
    Browse the repository at this point in the history
  2. Remove unused message

    Remove unused message that was previously added as a commit to this PR.
    mm-broadcom committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    e90f196 View commit details
    Browse the repository at this point in the history
  3. Underlines proper offending token

    Added a check for the offending token such that it properly denotes where the issue is rather than the one after it.
    Updated unit tests to reflect these changes.
    mm-broadcom committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    536eff3 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Update server/engine/src/main/java/org/eclipse/lsp/cobol/implicitDial…

    …ects/sql/MessageServiceParser.java
    
    Co-authored-by: Aman Prashant <aman.prashant@broadcom.com>
    mm-broadcom and ap891843 authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    d2303c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Add size requirement for BINARY VARYING

    Add size requirement for BINARY VARYING.
    mm-broadcom committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    43275ab View commit details
    Browse the repository at this point in the history