i have problems with calling an SQLRPGLE program with only one parameter.
an alphanumeric field length 40. the SQLRPGLE is running fine interactively but in batch mode, the parameter is right filled with packed caracters and it causes problems in my procedure. i’ve verified calling program, called program, the length is the same. i’ve tested in DEBUG mode ti see if there is a message in the JOBLOG but nothing…
i add a SNDMSG to QSYSOPR with the value of the parameter in the calling CLP (value OK) and i add a SNDMSG to QSYSOPR with the value of the parameter just after the *entry instructions…the value of the parameter has changed with packed caracters on the right (7 caracters exactly)
my question is the same as Dave : why does it work interactively and not in batch?
thanks in advance for your helps or comments
November 25, 2009 7:59 AM
November 29, 2009 12:04 PM