PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.5.6
- All Products
[result=]Fragment(source_field,target_field1,target_field2[,...])
Parameter
| Description
| Datatype
|
---|---|---|
result
| Optional.Returns one of the following values:
| -
|
source_field
| Field to be fragmented.
| A real or user-defined field of any datatype, or a value enclosed in single quotes
|
target_field1
| Target field into which to copy fragment from the source field.
| A user-defined field of any datatype except a variable datatype
|
target_field2
[, ... ]
| One or more additional target fields into which to copy fragments from the source field.
| A user-defined field of any datatype except a variable datatype. The last target field can be of a variable datatype.
If the last target field is not variable and its length exceeds the length of the remaining data in the source field, the target field is populated with null and the return code is 0. However, if you make the last target field variable, it is populated with data, and the return code is still 0, even if full length of the variable field is not populated.
|