Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

11.10.2 Method Details

This section provides details on methods.

11.10.2.1 CREATE method

Class

CDCORBA

Description

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

Syntax
INVOKE CDCORBA "CREATE" RETURNING L-RETURN.
Parameter

None

Return value
L-RETURN "attribute: OBJECT REFERENCE SELF"
   The object reference of CDCORBA itself is returned.
See also

CREATE method of the FJBASE class

11.10.2.2 GET-ORB method

Class

CDCORBA

Description

This method initializes ORB and obtains an ORB object reference.
Use the GET-ORBR method to refer to the obtained object reference.

Syntax
INVOKE CDCORBA "GET-ORB" USING L-PARAM RETURNING L-RETURN.
Parameter
L-PARAM "attribute: PIC X(50)"
   The name of client application
Return value
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

See also

GET-ORBR method

11.10.2.3 GET-COSNAMING method

Class

CDCORBA

Description

This method obtains an object reference of the naming service.
Use the GET-COSNAMINGR method to refer to the obtained object reference.

Syntax
INVOKE CDCORBA "GET-COSNAMING" RETURNING L-RETURN.
Parameter

None

Return value
L-RETURN "attribute: S9(9) COMP-5 "

The result of function processing is returned.

0: Normal end

Negative number: Abnormal end

See also

GET-COSNAMINGR method

11.10.2.4 GET-NAMEOBJ method

Class

CDCORBA

Description

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.

Syntax
INVOKE CDCORBA "GET-NAMEOBJ" USING L-PARAM RETURNING L-RETURN.
Parameter
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)".

Return value
L-RETURN "attribute: S9(9) COMP-5 "

The result of function processing is returned.
0: Normal end
Negative number: Abnormal end

See also

GET-NAMEOBJR method

11.10.2.5 GET-ERROR-MSG method

Class

CDCORBA

Description

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)".

Syntax
INVOKE CDCORBA "GET-ERROR-MSG" RETURNING L-RETURN.
Parameter

None

Return value
L-RETURN "attribute: X(128) "

Information returned from CORBA-Exception

See also

CORBA-Exception (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition).)"

11.10.2.6 GET-ORBR method

Class

CDCORBA

Description

This method returns an obtained ORB object reference.

Syntax
INVOKE CDCORBA "GET-ORBR" RETURNING L-RETURN.
Parameter

None

Return value
L-RETURN "attribute: OBJECT REFERENCE CORBA-ORB "

An ORB object reference obtained by the GET-ORB method is returned.

See also

GET-ORB method
CORBA-ORB (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)

11.10.2.7 SET-ORBR method

Class

CDCORBA

Description

This method sets an ORB object reference.

Syntax
INVOKE CDCORBA "SET-ORBR" USING L-PARAM.
Parameter
L-PARAM "attribute: OBJECT REFERENCE CORBA-ORB "

Object reference of ORB

Return value

None

See also

GET-ORB method
GET-ORBR method
CORBA-ORB (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)

11.10.2.8 GET-COSNAMINGR method

Class

CDCORBA

Description

This method returns an obtained object reference of the naming service.

Syntax
INVOKE CDCORBA "GET-COSNAMINGR" RETURNING L-RETURN.
Parameter

None

Return value
L-RETURN "attribute: OBJECT REFERENCE COSNAMING-NAMINGCONTEXT "

Obtained object reference of the naming service

See also

GET-COSNAMING method
COSNAMING-NAMINGCONTEXT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)

11.10.2.9 SET-COSNAMINGR method

Class

CDCORBA

Description

This method sets an object reference of the naming service.

Syntax
INVOKE CDCORBA "SET-COSNAMINGR" USING L-PARAM.
Parameter
L-PARAM "attribute: OBJECT REFERENCE COSNAMING-NAMINGCONTEXT "

Object reference of the naming service

Return value

None

See also

GET-COSNAMING method
GET-COSNAMINGR method
COSNAMING-NAMINGCONTEXT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)

11.10.2.10 GET-NAMEOBJR method

Class

CDCORBA

Description

This method returns an object reference of the server application.

Syntax
INVOKE CDCORBA "GET-NAMEOBJR" RETURNING L-RETURN.
Parameter

None

Return value
L-RETURN "attribute: OBJECT REFERENCE CORBA-OBJECT "

Object reference of the server application

See also

GET-NAMEOBJ method
CORBA-OBJECT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)

11.10.2.11 SET-NAMEOBJR method

Class

CDCORBA

Description

This method sets an object reference of the server application.

Syntax
INVOKE CDCORBA "SET-NAMEOBJR" USING L-PARAM
Parameter
L-PARAM "attribute: OBJECT REFERENCE CORBA-OBJECT "

Object reference of the server application

Return value

None

See also

GET-NAMEOBJ method
GET-NAMEOBJR method
CORBA-OBJECT (Refer to the "Interstage Application Server Distributed Application Development Guide (CORBA Service Edition)".)