listSCAImports command
Use the listSCAImports command to list the imports of a Service Component Architecture (SCA) module.
Prerequisites
The following conditions must be met:
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
Required parameters
- -moduleName moduleName
- SCA module name.
Optional parameters
- -applicationName applicationName
- The name of the application associated with the SCA module. Providing an applicationName improves performance.
Example
To lists the imports of a module called myModule in the application called myApplication for use in another script:
- Jython example:
wsadmin>AdminTask.listSCAImports('-moduleName myModule -applicationName myApplication')
Tip: Add the Jython print statement before the command when you want to see formatted output. - Jacl example:
$AdminTask listSCAImports {-moduleName myModule -applicationName myApplication}