× 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.




Pete, I don't know if you copied in your source, or re-typed it into the note.
"onExection" should be "onException" but you should have received clear syntax errors on that, if the source really contained that.
Also, regarding the linkage section: type = reomteCall ---> remoteCall, but I'm guessing that was just a typo creating the forum note.

package com.vcpi.services
service submit
cmdString string;
cmdLength decimal(15,5);
returnVal string;

function submit(payor string in) returns(string)
syslib.setRemoteUser("<snip>", "<snip>");
cmdString = "ADDLIBLE LIB(FOO)";
cmdLength = strLib.byteLen(cmdString);
try
call "QCMDEXC" (cmdString, cmdLength);
onExection (ex AnyException)
returnVal = ex.messageID + " " + ex.message;
end
return(returnVal);
end
end


eglbld has the following linkage section:
pgmName = QCMDEXC
type = reomteCall
alias = QCMDEXC
conversionTable = CSOE037
library = QSYS (tried empty, %LIBL%)
location = <the actual host name> (tried IP address and
PROGRAMCONTROLLED in conjunction with the serverID value)
luwControl = SERVER
package = (tried com.vcpi.services - thats the package name for the
service, as well as empty)
remoteBind = tried both GENERATION and RUNTIME
remoteComType = JAVA400
remotePgmType = STATELESS (tried STATEFUL too, but it's not)
serverID = (tried the actual host name in conjunction with
PROGRAMCONTROLLED for the location.)



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.