Skip to content

[Bob-Issue]: Bob miscalculates length of packed fields and also has confusion about i-specs #2992

Description

@6njjqygxxn-svg

Feedback Type

Product Bug

Impact

High - Affects key use cases

Bob Product

Bob IDE (VS Code Extension)

Bob Version

Bob 2.0.1 and premium package for IBM i

Mode (if applicable)

None

Issue Summary

Bob reads S/36 program i-specs (maybe any internally defined file i-spec) and reports length incorrectly. Field may be zoned or packed but Bob seems to assume all numeric fields are packed. Thus generated programs or DDS have got incorrect length. Bob also makes placement mistakes, as if reading O-specs with ending positions and confusing i-spec positions with o-spec positions, thus coming up with DDS that is inaccurate. I have just downloaded v2.0.2 but have not tested to see if improvements exist.

Detailed Description

Bob did not create correct DDS. Assumed a field that was zoned was packed. Or that a packed field had incorrect number of digits. Bob also assumes any 6-digit field with a name including "date" is in YYMMDD format, which may not be true.

Environment

System:

  • OS: [e.g., macOS 14.1, Windows 11, Ubuntu 22.04]
  • RAM: [e.g., 16GB]
  • CPU: [e.g., M1, Intel i7]

Project:

  • Project Type: [e.g., Web app, CLI tool, Library]
  • Project Size: [e.g., Small (<100 files), Medium (100-1000), Large (>1000)]
  • Primary Language: [e.g., Python, JavaScript, Java]

MCP Configuration (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions