INQUIRE BEAN

Retrieve information about an installed enterprise bean.

Read syntax diagramSkip visual syntax diagramINQUIRE BEAN
 
>>-INQUIRE BEAN(data-value)--+------------------------+--------->
                             '-CORBASERVER(data-area)-'
 
>--+-----------------+-----------------------------------------><
   '-DJAR(data-area)-'
 

Conditions: END, NOTAUTH , NOTFND

For more information about the use of CVDAs, see CICS-value data areas (CVDAs).

Description

INQUIRE BEAN retrieves the CorbaServer and DJAR names associated with an installed enterprise bean.

Browsing

You can also browse through all of the enterprise beans installed in your system by using the browse options (START, NEXT, and END) on INQUIRE BEAN commands.

See Browsing resource definitions for general information about browsing, including syntax, exception conditions, and examples.

Options

BEAN(data-value)
specifies the name of the enterprise bean.
CORBASERVER(data-area)
specifies a 4-character area to receive the name of the associated CorbaServer.
DJAR(data-area)
specifies a 32-character area to receive the name of the deployed JAR file that contains the bean.

Conditions

END
RESP2 values:
2
There are no more beans to browse.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
NOTFND
RESP2 values:
1
The BEAN was not found

Examples

EXEC CICS INQUIRE BEAN(*) 
EXEC CICS INQUIRE BEAN(*) CORBASERVER(CORB) 
EXEC CICS INQUIRE BEAN(*) DJAR(CART)	 
EXEC CICS INQUIRE BEAN(MyBean) CORBASERVER(CORB) 
 

In these examples, CICS displays information about:

  1. All installed beans
  2. All beans installed in CorbaServer CORB
  3. All beans installed from DJAR CART
  4. Installed bean MyBean in CorbaServer CORB.
[[ Contents Previous Page | Next Page Index ]]