Command Tokens

Use command tokens to build command strings to pass to applications when they run:

  • $CMD—Full path and name of the executable.

  • $PARAMS—Parameters defined for the program. You can set prompt and default values for individual parameters in program properties.

  • $PROGRAM—Program to run. Examples of programs include shell scripts, SQL scripts, or Oracle Reports.

  • $BPROGRAM—Program name with the file extension removed. Use this in combination with hardcoded text to specify a name for an error file, a log file, or another such file. An example would be log=$BPROGRAM.log.

  • $FLAGS—Flags associated with the program.

  • $EFLAGS—Flags associated with the executable or an instance of it. All jobs associated with this executable use these flags.

  • $DBCONNECT—Database connect string associated with the program. If set, end users cannot specify a connect string at runtime.

  • $DBUSERNAME—Database user name associated with the program. If set, end users cannot specify a user name at runtime.

  • $DBPASSWORD—Database password associated with the program. If set, ends users cannot specify a password at runtime.

  • $BPUSERNAME—User name. If the user name is required as an input parameter to the job, specifying this token instructs the system to include the user name in the command line automatically, rather than prompting the user.