Use the showSCAExportMQBinding command
to show the attributes of a WebSphere® MQ
export binding.
The showSCAExportMQBinding command
displays the attributes of a WebSphere MQ
export binding as a java.util.Hashtable containing
the usage and the JNDI name of each of the resources associated with
this binding.
The format of the output is specified by the javaFormat parameter.
Required parameters
- –moduleName moduleName
- The name of the SCA module associated with the export.
- -export export
- The name of the export.
Optional parameters
- -applicationName applicationName
- The name of the application.
- -javaFormat
- The output format. Specify false for human-readable
text or true for keys in the following format:
- connection.factory
- send.destination
- listener.port
- callback.destination
- receive.destination
- activation.specification
Note: The output varies, depending on the
version of the application. For example, for Version 6 applications
deployed to a Version 7 runtime environment, information about listener
ports is displayed.
- -showAdvanced
- Specify true to display all the attributes,
including the read-only ones.
Example
To list the attributes of a WebSphere MQ export binding
called Export1 in a module called MyMod for use in another script:
- Jython example:
AdminTask.showSCAExportMQBinding('[-moduleName MyMod
-export Export1 -javaFormat true]')
Tip: Add
the jython print statement before the command when
you want to see formatted output.
- Jacl example:
$AdminTask showSCAExportMQBinding {-moduleName MyMod
-export Export1 -javaFormat true}