Previous Topic

Next Topic

Book Contents

Book Index

ON SYSOUT: Post–Processing Parameter

Search for a string in the sysout of the job, and perform the actions in the accompanying DO statements if the string is found.

Figure 263 ON SYSOUT Parameter Format

M3ONSYS_b

Optional. Multiple ON SYSOUT parameters can be defined. Upon specifying an ON SYSOUT value and pressing Enter, a new ON SYSOUT statement, followed by a blank DO statement, is opened. Valid values are shown in Table 204.

Table 204 ON SYSOUT Values

Value

Description

string

Mandatory if ON SYSOUT is used. The string to search for. This string may not consist of more than 40 alphanumeric characters. If you want this string to contain blanks, enclose the blanks, or the phrase containing the blanks, within single or double quotation marks.

In addition:

  • * – Use this character as a mask to match any string.
  • &*– Use this to indicate an asterisk within a string where the asterisk is not a mask character.
  • ? – Use this character as a mask to match any single character.
  • &?– Use this to indicate a question mark within a string where the question mark is not a mask character.

FROM

The column in the SYSDATA files where the search must start. Valid values are from 1 through 132.

TO

The column in the SYSDATA files where the search must end. Valid values are from 1 through 132.

Note: BMC recommends the use of the FROM and TO parameters, if possible, to narrow the area searched and thereby make the search more efficient.

A/O

Optional. Boolean And/Or indicator. Valid values are:

  • A (And) – indicates AND logic between the two ON SYSOUT statements
    ON SYSOUT block criteria are satisfied only if both ON SYSOUT statements are satisfied.
  • O (Or) – indicates OR logic between the two ON SYSOUT statements
    ON SYSOUT block criteria are satisfied if either (or both) ON SYSOUT statements are satisfied.

If you specify A or O, an empty ON SYSOUT line is displayed.

Two or more ON SYSOUT statements connected by a Boolean indicator constitute an ON SYSOUT block.

The first DO statement is displayed after the last line of the ON SYSOUT block.

Parent Topic

Job Production Parameters