×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Couldn’t quite able to figure this out. In my RPG program, it performs a disconnect from current system and then connect to a remote system and then calls a stored-procedure on the remote system. The last three parameters contain error info that the stored-procedure is supposed to pass back. For some reason, they are not being pass back/updated.
Below are relevant code in my RPG program:
exec sql disconnect current;
exec sql connect to Mcbell4;
exec sql call lrResetLoginProcessRequestSP
(:piuserid, :piRequestId, :piChgPwdAlso,:pinewEncPwd,
:pinewEncPwdLn,:pinewEncPwdVc,:pinewASCEBC, 'Y',
:piErrFlag, :piErrID, :piErrMsg);
Below is the create procedure statement for this stored-procedure.
create procedure
lrResetLoginProcessRequestSP(
inout piUserId Varchar(256),
inout piRequestID Varchar(256),
inout piChgPwdAlso Char(1),
inout pinewEncPwd Binary(256),
inout pinewEncPwdLn int,
inout pinewEncPwdVc Binary(16),
inout pinewASCEBC Char(1),
in piForcePwd char(1),
inout piErrFlag char(1),
inout piErrID char(7),
inout piErrMsg char(255)
)
language RPGLE
program type sub
external name SVLRRP(LRRESETLOGINPROCESSREQUEST)
not deterministic
parameter style general;
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.