To pass numeric data from a command line, it needs to be passed as follows:
Register Hereor login if you are already a member
the snippet is DA S 5 DB S 3 0 * /FREE DSPLY A; DSPLY B; *INLR = *ON; /END-FREE C *INZSR BEGSR C *ENTRY PLIST C PARM A C PARM B C ENDSR
im calling this program from the command like
CALL PGM(DEVHR/TEST2) PARM('abcd' 6)
during debug A has 'ABCD' but B has 000...why this happening Some one please guide me on this..!!!!
Using your example of a numeric (3,0) field it should be represented as follows:
CALL PGM(DEVHR/TEST2) PARM('abcd' X'006F')