Skip to content

Calls to programs or service program functions with mode="opm" do not handle *OMIT parameters properly #63

@brandonp42

Description

@brandonp42

In plugile.rpgle functions ilePGM() and ileSRV() they are walking forward through the argv pointers looking for a null pointer to count how many parameters there are. In the case of *OMIT you can have a spot in the middle where a parameter has a null pointer but then subsequent valid parameters. The code is skipping out and not recognizing those subsequent valid parameters. It needs to walk backwards instead.

I will add more comments later today,

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