Skip to content

Program Call with int params #81

Description

@woodinteractive

We have written an PRG program that uses an int(10) param type. This expects a 4 byte binary of the number. Is there a way that I can pass values to it using this toolkit or would additional programming need to be included from the jt400 java toolkit to accommodate?

RPG dcl-pi

dcl-pi *n;
    pAction.          char(10); 
    pTollId             int(20);
    pTranId           int(20);
    pPltStAbbr     char(2);
    pPltTypeId      int(10);
    pPltNbr           char(10);
    pUserKey       int(10);
    pImages         char(1500);
    pMessage      char(50);
end-pi;

int(10) is a 4 byte binary
int(20) is a 8 byte binary

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions