Hello,
I am using a trial version of Valence 6 and trying to call an RPG program on the server that needs the IBMi user id to create a copy of a sales order. The backend program fails because the user id is coming over as QTMHHTTP. I tried retrieving the IBMi user id by including vvUtility_getCurrentUser(UserNum:IBMiUser), then using vvUtility_ovrUsr('1':*blank:IBMiUser) to override QTMHHTTP to the IBMi user id. I get a '1' response after _ovrusr, but the RPG program still shows QTMHHTTP as the user. Can someone give me an example of how this works.
Thanks,
Bruce Wilson
I am using a trial version of Valence 6 and trying to call an RPG program on the server that needs the IBMi user id to create a copy of a sales order. The backend program fails because the user id is coming over as QTMHHTTP. I tried retrieving the IBMi user id by including vvUtility_getCurrentUser(UserNum:IBMiUser), then using vvUtility_ovrUsr('1':*blank:IBMiUser) to override QTMHHTTP to the IBMi user id. I get a '1' response after _ovrusr, but the RPG program still shows QTMHHTTP as the user. Can someone give me an example of how this works.
Thanks,
Bruce Wilson

Comment