Previous Topic: Update Utility Update Fields SubmenuNext Topic: Data Set Compare Utility


Field Descriptions

Field Name

The level and name of the field as defined in the Layout data set's member

Pos

The starting position within the record of the field

Format

The data-type indicator followed by either the number of digits or characters allowed for the field as defined by the field definition.

Valid data-type indicators are:

B – Binary C – Alphanumeric F – Floating Point

N – zoned numeric P – Packed S – Signed

OP

Type the operator value to be used when updating. Valid choices include:

EQ — Equal

NE — Not equal

GT — Greater than

GE — Greater than or equal to

LE — Less than or equal to

LT — Less than

CO — Contains (i.e., the specified literal is anywhere in the field)

From Value

Type the from string values to be used by the update. If the update operation is evaluated to be true, the data beginning at the first byte of the from string value will be REPLACED by the to string value. From string data is replaced for the length of the to string value with no shifting of data or alteration of the record length, unless the Input Format JCL option is Y.

When the Input Format JCL option is Y, and the to character string is shorter than the from character string, data is shifted to the left until two consecutive spaces/blanks are found, then padded with spaces/blanks. If the to character string is longer than the from string and there are not enough consecutive blanks to accommodate the difference, a new (continued) JCL card will be inserted with one or more JCL parameters from the updated JCL record.

The typed value is examined to make sure that it adheres to the field's definition.

Valid syntax is as follows:

'c…'

Text – matches both lower and uppercase alphabetic characters.

C'c…'

Character – matches specified case

P'n…'

Packed decimal

T'x…'

Text – matches both lower and uppercase alphabetic characters. Alphanumeric data is permitted.

X'hh'

Hexadecimal

Apostrophes (') and quotes (") are not interchangeable.

Character data within apostrophes and quotes are always treated as text.

When the text contains an apostrophe, the text needs to be enclosed in quotes.

To Value

Type the to string value to be used as a replace string for the from string value. If the update operation is evaluated to be true, the data beginning at the first byte of the from string value will be REPLACED by the to string value.

The typed value is examined to make sure that it adheres to the field's definition.

Valid syntax is as follows:

'c…'

Text – matches both lower and uppercase alphabetic characters.

C'c…'

Character – matches specified case

P'n…'

Packed decimal

T'x…'

Text – matches both lower and uppercase alphabetic characters. Alphanumeric data is permitted.

X'hh'

Hexadecimal

Apostrophes (') and quotes (") are not interchangeable.

Character data within apostrophes and quotes are always treated as text.

When the text contains an apostrophe, the text needs to be enclosed in quotes.

When the text contains a quote, the text needs to be enclosed in apostrophes.