HCL Workload Automation, Version 9.4

Job definition for SAP PI Channel jobs

HCL Workload Automation job definition properties and JSDL examples for running SAP PI Channel jobs.

A description of the job properties and valid values are detailed in the context-sensitive help in the Dynamic Workload Console by clicking the question mark (?) icon in the top-right corner of the properties pane.

Table 1 describes the required and optional attributes for   SAP PI Channel jobs, together with a description of each attribute.
Table 1. Required and optional attributes for the job definition of SAP PI Channel jobs.
Attribute Description/value Required
Host name Use this section to specify the options for the SAP Process Integration server.
Server connection port The port number of the SAP Process Integration instance.
Service Identifies the service of the channel to be administered. You can specify an asterisk (*) to administer more than one channel simultaneously.  
Party Identifies the party of the channel to be administered. You can specify an asterisk (*) to administer more than one channel simultaneously.  
Channel Identifies the name of the channel to be administered. You can specify an asterisk (*) to administer more than one channel simultaneously.
User name The user that controls the channels. This user requires the xi_af_channel_admin_display and xi_af_channel_admin_modify roles.
Password The password of the user. The password is encrypted when the job is created.
Action Start, stop, verify status.  
The following example shows the job definition of an SAP PI Channel job with all the attributes specified:
TWSAGENT#CHANNELTEST
 TASK
    <?xml version="1.0" encoding="UTF-8"?>
<jsdl:jobDefinition xmlns:jsdl="http://www.abc.com/xmlns/prod/scheduling/1.0/
   jsdl" xmlns:jsdlpichannel="http://www.abc.com/xmlns/prod/scheduling/1.0/
   jsdlpichannel" name="PICHANNEL">
  <jsdl:application name="pichannel">
    <jsdlpichannel:pichannel>
                        <jsdlpichannel:PIChannelParameters>
                                <jsdlpichannel:PIChannelParms>
                                        <jsdlpichannel:ServerInfo>
                                             <jsdlpichannel:HostName>pihost</jsdlpichannel:HostName>
                                             <jsdlpichannel:PortNumber>50000</jsdlpichannel:PortNumber>
                                        </jsdlpichannel:ServerInfo>
                                        <jsdlpichannel:ChannelInfo>
                                             <jsdlpichannel:ServiceName>*</jsdlpichannel:ServiceName>
                                             <jsdlpichannel:PartyName>*</jsdlpichannel:PartyName>
                                             <jsdlpichannel:ChannelName>TESTCHANNEL1</jsdlpichannel:ChannelName>
                                        </jsdlpichannel:ChannelInfo>
                                        <jsdlpichannel:UserInfo>
                                             <jsdlpichannel:UserName>TWSADMIN</jsdlpichannel:UserName>
                                             <jsdlpichannel:password>
    {aes}VlHkyc5ufaC6nMRepctNUbZ1exnDF5zUl+9baDGWgos=</jsdlpichannel:password>
                                        </jsdlpichannel:UserInfo>
                                        <jsdlpichannel:ActionInfo>
                                                <jsdlpichannel:StartAction/>
                                        </jsdlpichannel:ActionInfo>
                                </jsdlpichannel:PIChannelParms>
                        </jsdlpichannel:PIChannelParameters>
                </jsdlpichannel:pichannel>
  </jsdl:application>
</jsdl:jobDefinition>
 RECOVERY STOP