Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
102 <strong>File</strong> <strong>Management</strong> V4R5<br />
v “Null-capable fields used by the INCREL parameter” on page 103<br />
v “Different CCSIDs used by the INCREL parameter” on page 103<br />
v “DBCS-graphic fields used by the INCREL parameter” on page 103<br />
Variable-length fields used by the INCREL parameter<br />
You can use variable-length character fields for the INCREL parameter. Enter the<br />
character value without the 2-byte length field. The length of the data that is<br />
entered determines the number of bytes that are used for the comparison. If the<br />
actual data in the variable-length from-field is shorter than the value specified for<br />
the INCREL parameter, the from-field data is padded with single-byte blanks<br />
(X'40') for the comparison.<br />
Date, time, and timestamp fields used by the INCREL parameter<br />
The INCREL parameter allows date, time, and timestamp fields. The copy<br />
command compares the input field value chronologically to the value in the date,<br />
time, or timestamp field to determine if it should select the record. The system<br />
attempts to convert the input string and the actual field value to an internal form<br />
that is chronologically compared. These rules apply to the conversion:<br />
v If the from-field is a date field, the system determines if the user-input field<br />
value is in the same format and has the same separator as specified in the<br />
current job under which the copy command is running. The format could be<br />
*MDY, *DMY, *YMD, or *JUL and could use a slash (/), hyphen (-), period (.),<br />
comma (,), or blank ( ) for the separator. If the user-input field value does not<br />
use the same format or separator form of the current job, the system determines<br />
if it is one of the SAA formats (*ISO, *USA, *EUR, OR *JIS) or if it is a<br />
YYYYDDD form with no separators. If the system determines that the user-input<br />
field value is one of these forms, it converts the input string to an internal form.<br />
The from-field is then converted to its internal form, and the comparison is<br />
made. If the user-input string format cannot be determined, or the length or data<br />
value is not valid, a diagnostic message is issued and the copy operation ends.<br />
You must left-justify the date portion of the user-input field value; it can contain<br />
trailing blanks.<br />
v If the from-field is a time field, the system determines if the user-input field<br />
value is in the same format and has the same separator as specified in the<br />
current job under which the copy command is running. The format could be<br />
HHMMSS and have a colon (:), comma (,), period (.), or blank ( ) for the<br />
separator. If the user-input field value is not in the specified format and<br />
separator form of the current job, the system determines if it is in one of the<br />
SAA formats (*ISO, *USA, *EUR, or *JIS). If the system determines that the<br />
user-input key value is in one of these forms, it converts the input string to an<br />
internal form. The from-field is then converted to its internal form, and the<br />
chronological comparison is made. If the user-input string format cannot be<br />
determined or the length or data value is not valid, a diagnostic message is<br />
issued and the copy operation ends. You must left-justify the time portion of the<br />
user-input field value; it can contain trailing blanks.<br />
v If the from-field is a timestamp field, the system first determines if the<br />
user-input field value is in the SAA format or YYYYMMDDHHMMSS form (no<br />
separators). If the system determines that the user-input field value is in one of<br />
these forms, it converts the input string to an internal form. The from-field is<br />
then converted to its internal form and the chronological comparison is made. If<br />
the user input string format cannot be determined, or the length or data value is