Specifying variables and passwords in the JOBREC statement

After defining a variable and its value with the param command, to add it within a job definition with the JOBREC statement, use the following format. The values are resolved at submission time on the agent where the job is submitted.

Format

//JOBREC
  JOBUSR(username)
  JOBPWD(AGENT)
//END JOBREC
where:
JOBUSR(username)
The name of the user to access WebSphere Application Server, if required. If the user schedules jobs to run on Windows workstations, ensure that a user password is also defined with the JOBPWD keyword.
  • If you are defining a Windows domain user, use the following format:
    JOBUSR(domainName\user1)
  • If you are defining a Windows user in the username@internet_domain format, use the following format:
    JOBUSR('administrator@mywindom.com')
JOBPWD(AGENT)
Means that the password is resolved locally on the agent. The password must have been defined on the agent by issuing the param command. This feature is available independently of the operating system of the workstation.