thelearner
Programmer
Hi,
I have an OPM program with 2 parms (6x and 35x).
Inside my ILE pgm I have a field, 25x long, that I want to used for 2nd parm when I call this OPM pgm. The OPM pgm suppose to change the value of the 2nd parm and pass back to the calling pgm. Is it possible? HOW?
I tried this but it did not chg the value of ZPRCD after the call return.
D IQPROD PR
D XCUCODE 6
D XPRCD 35 OPTIONS(*VARSIZE)
XPRCD is a field from Display screen and it's 25X.
Thanks in advance
I have an OPM program with 2 parms (6x and 35x).
Inside my ILE pgm I have a field, 25x long, that I want to used for 2nd parm when I call this OPM pgm. The OPM pgm suppose to change the value of the 2nd parm and pass back to the calling pgm. Is it possible? HOW?
I tried this but it did not chg the value of ZPRCD after the call return.
D IQPROD PR
D XCUCODE 6
D XPRCD 35 OPTIONS(*VARSIZE)
XPRCD is a field from Display screen and it's 25X.
Thanks in advance