Assuming you are using the DCOM wrapper and VB6 or ASP (not .Net), you can use VBScript such as:
<%
dim obj
set obj = Server.CreateObject(“EOL.TESTRPC”)
’ EntireX Security logon
obj.UserID = “USER00” 'Request.Form(“USERID”)
obj.Password = “PWD” 'Request.Form(“password”)
’ if RPC server has LOGONRQ=ON, NaturalLogon must be Y. Optional otherwise
objCalc.NaturalLogon = “Y”
obj.RpcUserID = obj.UserID
obj.RpcPassword = “NSSPWD”
obj.Logon
dim result
’ invoke DCOM object to invoke RPC to call function on mainframe Natural
result = obj.DCOM001()
objCalc.MYPROG operator, result
Response.Write(“
” & result)
obj.Logoff
%>
#Mainframe-Integration#EntireX-DCOM#webMethods