Hitachi MK-96RD647-01 manual Delimiter DEL Option, Empty File Emp Option

Models: MK-96RD647-01

1 226
Download 226 pages 34.71 Kb
Page 32
Image 32

Note: If you use FXmto with padding, the data cannot be transferred back to the original z/OS dataset (the FXotm target dataset will not be compatible with the original dataset). If you use FXotm with padding, the delimiter option is required.

Delimiter (DEL) Option

The delimiter option can be used for both FXmto and FXotm operations and enables variable-length records to be transferred between platforms without losing compatibility with the original dataset. When the delimiter option is specified for FXmto, FCU adds the specified delimiter to the end of each data entity in the source file, and then extracts and transfers the data entity with delimiter to the open-system target file. When the delimiter option is specified for FXotm, FCU extracts each data entity preceding the specified delimiter and transfers the data entities without delimiters to the target dataset. Sections FXmto Operations and FXmto with Multiple Volume Datasets describe FX operations with delimiters.

The type and length of the delimiter added (or recognized and extracted) by FCU depends on the open-system platform:

For UNIX-based platforms, you must specify either a carriage return (CR) or a line feed (LF). The length of this delimiter is one byte.

For Windows 2000/2003/Windows NT, you must specify a CR + LF. The length of this delimiter is two bytes.

Note: Do not use the delimiter option for FXotm if the source file contains the same character(s) as the delimiter but used for a purpose other than delimiting data entities. If you do, FCU will interpret the specified delimiter character(s) as delimiters, which can create a target dataset with corrupt records or generate an error condition.

Note: If you use FXmto with delimiter (no padding) for variable-length records, you will be able to transfer the data back to the original z/OS dataset later using FXotm.

Empty File (Emp) Option

The empty file (Emp) option can be used for both FXmto and FXotm operations. When the empty file option is specified, FCU processes an empty source file instead of returning an error. An empty z/OS dataset is a dataset which has no records or only EOF records. An empty open-system file is a file which has a file size of 0 bytes. When an empty z/OS dataset is processed, the open-system target file size = 0. When an empty open-system file is processed, the target dataset will contain only EOF records.

2-14

About Cross-OS File Exchange Operations

Hitachi USP V Cross-OS File Exchange User’s Guide

Page 32
Image 32
Hitachi MK-96RD647-01 manual Delimiter DEL Option, Empty File Emp Option