IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
showSCAImportMQBinding command
Use the showSCAImportMQBinding command to show the attributes of a WebSphere MQ import binding.
The showSCAImportMQBinding command displays the attributes of a WebSphere MQ import 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 import.
- -import import
- The name of the import.
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
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 import binding called Import1 in a module called MyMod for use in another script:
- Jython example:
AdminTask.showSCAImportMQBinding('[-moduleName MyMod -import Import1 -javaFormat true]')Tip: Add the jython print statement before the command when you want to see formatted output.
- Jacl example:
$AdminTask showSCAImportMQBinding {-moduleName MyMod -import Import1 -javaFormat true}
Parent topic: Commands (wsadmin scripting)
Related information:
![]()
Obtaining online help using wsadmin scripting
![]()
Administrative command invocation syntax using wsadmin scripting
![]()
Use the wsadmin scripting tool
![]()
Jython script library