Q: I have a problem with decimal data that I want to pass as parameters to a program via the SBMJOB command. Program PGM2 receives message MCH1202 when I reference parameter &VAR1 in an IF statement. I also experience similar problems with RPG programs receiving message RPG0907, indicating invalid decimal data. Figure 2a and Figure 2b show excerpts from a calling and called program that exhibit the problem. I'm wondering whether it's possible to pass *DEC type data. I don't ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.

Already registered? here.