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
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:email@example.com
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: