Defaults

When coding batch-loader control statements, you do not need to provide every keyword and a corresponding value. Keywords that are required are clearly noted in the text. For other keywords, a default value is used for that keyword if you do not supply it.

IBM Z Workload Scheduler selects default values in this sequence:
  1. Some control statements have the ACTION keyword. By specifying ACTION(SETDEFAULT), you can provide your own default values for that control statement. These default values will remain in effect for all later occurrences of the control statement in the input data set, or until you specify another ACTION(SETDEFAULT). For example:
    ADOP ACTION(SETDEFAULT) OPNO(10) DURATION(5)

    In this example, the default values set for the keywords OPNO and DURATION are used for all following ADOPs in the input data set. When you specify a default value for the OPNO keyword (operation number), it is used as an increment rather than an absolute value. This is because each operation within an application must have a unique operation number. A statement with ACTION(SETDEFAULT) as the only keyword removes all defaults that have been previously set in this way and returns the defaults to their normal values. A control statement with ACTION(SETDEFAULT) specified does not cause any creation of AD or OI information.

    Keywords that cannot be set by the SETDEFAULT command are listed in the text.

  2. A keyword parameter can have a specific default as shown in the description of that control statement.
  3. If no default value is obtained from the preceding two steps, the following rules apply when you omit the keyword:
    1. A character value defaults to blank.
    2. An integer value defaults to 0.

The following sections describe purpose and format of the supported statements.