Hi everyone,
I'm creating a cgi pgm 'xinq01', which is called from web server :
my cgi pgm is a rpgle pgm. in the pgm i code:
but i don't get data. when i debug the pgm, I found the parm2 passed to my rpgle pgm is not right. it has a enf of file sign at position 34. Can anyone help me to fix this problem? Thank you very much!
I'm creating a cgi pgm 'xinq01', which is called from web server :
my cgi pgm is a rpgle pgm. in the pgm i code:
Code:
d main pr extpgm('XINQ01')
d 2
d 35
d main pi
d parm1 2
d parm2 35
but i don't get data. when i debug the pgm, I found the parm2 passed to my rpgle pgm is not right. it has a enf of file sign at position 34. Can anyone help me to fix this problem? Thank you very much!