Previous Topic: Example 1Next Topic: Examples:


Data Specification

The data specification rules for the parameters from-data, to-data, and data are described in this section.

Duplication factor

The number of times the following data is to be repeated (value 1-32760). This must be less than the record's length. This value precedes the from-data, to-data, and data portion of the data specification.

Data

C'c…' Character – matches specified case
N'n…' Numeric
N'+n…',N'-n… ' Signed numeric
P'n…' Positive packed decimal
P'+n…',P'-n…' Signed packed decimal
T'c…' Text – matches both lower and uppercase alphabetic
characters. Alphanumeric data is permitted
X'hh' Hexadecimal

From-data and To-data

C'c…' Character – matches specified case
N'n…' Numeric
N'+n…',N'-n…' Signed numeric
P'n…' Positive packed decimal
P'+n…',P'-n…' Signed packed decimal
T'c…' Text – matches both lower and uppercase alphabetic
characters. Alphanumeric data is permitted.
X'hh' Hexadecimal