This section provides details on methods.
CDCORBA
The CREATE method executes essential processing and then initializes the member variables of the CDCORBA class.
For details on the CREATE method, refer to the "NetCOBOL Language Reference".
INVOKE CDCORBA "CREATE" RETURNING L-RETURN.
None
L-RETURN "attribute: OBJECT REFERENCE SELF" The object reference of CDCORBA itself is returned.
CREATE method of the FJBASE class
CDCORBA
This method initializes ORB and obtains an ORB object reference.
Use the GET-ORBR method to refer to the obtained object reference.
INVOKE CDCORBA "GET-ORB" USING L-PARAM RETURNING L-RETURN.
L-PARAM "attribute: PIC X(50)" The name of client application
L-RETURN "attribute: PIC S9(9) COMP-5" The result of function processing is returned.
0: Normal end
Negative number: Abnormal end (continuous operation disabled)
Positive number: ORB object reference already obtained
CDCORBA
This method obtains an object reference of the naming service.
Use the GET-COSNAMINGR method to refer to the obtained object reference.
INVOKE CDCORBA "GET-COSNAMING" RETURNING L-RETURN.
None
L-RETURN "attribute: S9(9) COMP-5 "
The result of function processing is returned.
0: Normal end
Negative number: Abnormal end
CDCORBA
This method obtains a server object reference with the naming service name specified in the parameter.
Use the GET-NAMEOBJR method to refer to the obtained object reference.
INVOKE CDCORBA "GET-NAMEOBJ" USING L-PARAM RETURNING L-RETURN.
L-PARAM "attribute: X(128) "
Naming service name of the server application to be obtained
For details on naming service names, refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".
L-RETURN "attribute: S9(9) COMP-5 "
The result of function processing is returned.
0: Normal end
Negative number: Abnormal end
CDCORBA
This method returns error information of the error occurred in the previous method call.
The method returns EXCEPTION-ID that is returned to CORBA-Exception. For details, refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".
INVOKE CDCORBA "GET-ERROR-MSG" RETURNING L-RETURN.
None
L-RETURN "attribute: X(128) "
Information returned from CORBA-Exception
CORBA-Exception (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition).)"
CDCORBA
This method returns an obtained ORB object reference.
INVOKE CDCORBA "GET-ORBR" RETURNING L-RETURN.
None
L-RETURN "attribute: OBJECT REFERENCE CORBA-ORB "
An ORB object reference obtained by the GET-ORB method is returned.
GET-ORB method
CORBA-ORB (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)
CDCORBA
This method sets an ORB object reference.
INVOKE CDCORBA "SET-ORBR" USING L-PARAM.
L-PARAM "attribute: OBJECT REFERENCE CORBA-ORB "
Object reference of ORB
None
GET-ORB method
GET-ORBR method
CORBA-ORB (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)
CDCORBA
This method returns an obtained object reference of the naming service.
INVOKE CDCORBA "GET-COSNAMINGR" RETURNING L-RETURN.
None
L-RETURN "attribute: OBJECT REFERENCE COSNAMING-NAMINGCONTEXT "
Obtained object reference of the naming service
GET-COSNAMING method
COSNAMING-NAMINGCONTEXT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)
CDCORBA
This method sets an object reference of the naming service.
INVOKE CDCORBA "SET-COSNAMINGR" USING L-PARAM.
L-PARAM "attribute: OBJECT REFERENCE COSNAMING-NAMINGCONTEXT "
Object reference of the naming service
None
GET-COSNAMING method
GET-COSNAMINGR method
COSNAMING-NAMINGCONTEXT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)
CDCORBA
This method returns an object reference of the server application.
INVOKE CDCORBA "GET-NAMEOBJR" RETURNING L-RETURN.
None
L-RETURN "attribute: OBJECT REFERENCE CORBA-OBJECT "
Object reference of the server application
GET-NAMEOBJ method
CORBA-OBJECT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)
CDCORBA
This method sets an object reference of the server application.
INVOKE CDCORBA "SET-NAMEOBJR" USING L-PARAM
L-PARAM "attribute: OBJECT REFERENCE CORBA-OBJECT "
Object reference of the server application
None
GET-NAMEOBJ method
GET-NAMEOBJR method
CORBA-OBJECT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)