HCL Workload Automation, Version 9.4

PowerCenter job definition

HCL Workload Automation job definition properties for running PowerCenter jobs.

The following table lists the required and optional attributions for the PowerCenter job definition, together with a description of each attribute.
Table 1. Required and optional attributes for the job definition of PowerCenter jobs.
Attribute Description/value Required
UserName The name used to access the PowerCenter repository. See Note.
password The password used to access the PowerCenter repository. It is encrypted when you submit the job. See Note.
repositoryDomain The domain where the repository is located. See Note.  
serviceDomain The domain where the PowerCenter Integration Service is located. See Note.  
repository The name of the PowerCenter repository where the workflow is located.
service The name of the integration service used to run the workflow.
folder The name of the folder where the workflow is located in the repository that you selected.
workflow The name of the workflow that you want to run.
wkfParamFile The full path and name of the file, stored on the Informatica PowerCenter server, that contains a list of parameters to be passed to the workflow at runtime.  
Note: If you do not want to specify a value for this attribute in the XML, you can define it in the PowerCenterJobExecutor.properties file. See Customizing HCL Workload Automation to run Informatica PowerCenter jobs for details.
The following example shows the job definition of a PowerCenter job with all the attributes specified:
$JOBS
LINUX206#PC-FULL
 TASK
<?xml version="1.0" encoding="UTF-8"?>
<jsdl:jobDefinition xmlns:jsdl="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdl"
 xmlns:jsdlpowercenter="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdlpowercenter" name="POWERCENTER">
  <jsdl:application name="powercenter">
    <jsdlpowercenter:powercenter>
      <jsdlpowercenter:PowerCenterParameters>
        <jsdlpowercenter:PowerCenterPanel>
          <jsdlpowercenter:logon>
            <jsdlpowercenter:userName>Administrator</jsdlpowercenter:userName>
            <jsdlpowercenter:password>{aes}BPnRnktQdkmJt3HIy/r4Z4EVy40EWhUGpur+qshPdhU=</jsdlpowercenter:password>
            <jsdlpowercenter:repositoryDomain>Domain_nc125123</jsdlpowercenter:repositoryDomain>
            <jsdlpowercenter:serviceDomain>Domain_nc125123</jsdlpowercenter:serviceDomain>
            <jsdlpowercenter:repository>MyRepository</jsdlpowercenter:repository>
          </jsdlpowercenter:logon>
           <jsdlpowercenter:jobDefinitionGroup>
             <jsdlpowercenter:projectNameGroup>
               <jsdlpowercenter:service>IntegrationService</jsdlpowercenter:service>
               <jsdlpowercenter:folder>tws4apps</jsdlpowercenter:folder>
               <jsdlpowercenter:workflow>DB2_COPY_FROM_SOURCE_TO_TARGET</jsdlpowercenter:workflow>
             </jsdlpowercenter:projectNameGroup>
                <jsdlpowercenter:wkfParamFile>C:\Informatica variables file.txt</jsdlpowercenter:wkfParamFile>
           </jsdlpowercenter:jobDefinitionGroup>
          </jsdlpowercenter:PowerCenterPanel>
       </jsdlpowercenter:PowerCenterParameters>
    </jsdlpowercenter:powercenter>
  </jsdl:application>
</jsdl:jobDefinition>
DESCRIPTION "Added by composer1."
RECOVERY STOP
The following example shows the job definition of the same PowerCenter job with only the required attributes specified:
$JOBS
LINUX206#PC-REQD
 TASK
<?xml version="1.0" encoding="UTF-8"?>
<jsdl:jobDefinition xmlns:jsdl="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdl"
 xmlns:jsdlpowercenter="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdlpowercenter" name="POWERCENTER">
  <jsdl:application name="powercenter">
    <jsdlpowercenter:powercenter>
      <jsdlpowercenter:PowerCenterParameters>
        <jsdlpowercenter:PowerCenterPanel>
          <jsdlpowercenter:logon>
            <jsdlpowercenter:userName/>
            <jsdlpowercenter:password/>
            <jsdlpowercenter:repositoryDomain/>
            <jsdlpowercenter:serviceDomain/>
            <jsdlpowercenter:repository>MyRepository</jsdlpowercenter:repository>
          </jsdlpowercenter:logon>
           <jsdlpowercenter:jobDefinitionGroup>
             <jsdlpowercenter:projectNameGroup>
               <jsdlpowercenter:service>IntegrationService</jsdlpowercenter:service>
               <jsdlpowercenter:folder>tws4apps</jsdlpowercenter:folder>
               <jsdlpowercenter:workflow>DB2_COPY_FROM_SOURCE_TO_TARGET</jsdlpowercenter:workflow>
             </jsdlpowercenter:projectNameGroup>
                <jsdlpowercenter:wkfParamFile/>
           </jsdlpowercenter:jobDefinitionGroup>
          </jsdlpowercenter:PowerCenterPanel>
       </jsdlpowercenter:PowerCenterParameters>
    </jsdlpowercenter:powercenter>
  </jsdl:application>
</jsdl:jobDefinition>
DESCRIPTION "Added by composer1."
RECOVERY STOP