Adapter for IBM Power 10.11 | Adapter Services | Configuring Call Command Services
 
Configuring Call Command Services
A Call Command service runs a non-interactive batch command in an IBM Power system. You can use Call Command service to run commands that do not require user interaction and are often used for automating administrative tasks or running batch processes in the IBM Power systems. You can pass parameters or specify the settings required for the batch command. You configure webMethods Adapter for IBM Power services using Designer. For more information about adapter services, see Adapter Services.
Be sure to review the section Before Configuring or Managing Adapter Services before you configure adapter services.
*Perform the following steps to configure a Call Command service:
1. In Designer, right-click the package in which the service must be created and select New > Adapter Service.
2. Select the parent namespace, type a name for the adapter service, and click Next.
3. Select webMethods Adapter for IBM Power as the adapter type and click Next.
4. Select the appropriate Adapter Connection Name and click Next.
5. From the list of available templates, select the Call Command template and click Finish.
The adapter service editor for the adapter service appears. You can select the Adapter Settings tab at any time to confirm adapter service properties such as the Adapter Name, Adapter Connection Name, and Adapter Service Template, as necessary.
6. Select the Command tab to configure the command using the fields as follows:
Field
Description/Action
Library Name
Optional. Name of the library where the command exists. Type the library name or select from the library list (containing user, system, and other libraries added). Default is *LIBL.
Command Name
Name of the command to call. For more information, see the official website for IBM Power commands.
Command Description
Description for the command is populated when you select a command to call.
The parameters are auto-populated. You can specify the parameter values required for the command.
a. Use the Insert row icon to create new rows as needed. You can use the Append All rows icon to fill in all rows to the table.
b. As you insert rows, the following fields are displayed for each parameter:
Field
Description/Action
Parameter Names
Name of the parameter to pass when the command is called.
Parameter Values
Value associated with the parameter. You can specify the parameter value either in the field or during runtime. If you want to provide the value at runtime, then include a ? in the Parameter Values field.
c. Use the Up or Down icons to change the order of the parameters to ensure that they are parsed in the correct order.
d. Use the Delete icon to delete a parameter.
7. From the File menu, select Save.