With delimiters. The figure below shows an FXotm operation for a fixed- length source file with delimiters from a previous FXmto transfer. FCU extracts the data entities from the source file by record length and transfers them to the target dataset. The delimiters are not transferred. The target dataset must have fixed-length record format with record length set to the actual length of each data entity (without delimiter). If the length of any source data entity does not exactly match the record length defined for the target dataset, FCU aborts the operation and reports an error. If the delimiter is not found right after the data entity, FCU aborts the operation reports an error.

Open-System Source File

Record length + 1 or 2 bytes

 

 

Data entity 1

D

 

Data entity 2

D

Data entity 3

D

 

Target Dataset

Record length

Record 1: Data entity 1

Record 2: Data entity 2

Record 3: Data entity 3

Figure 2-17 FXotm with Fixed-Length Records: Delimiters

Note: FCU does not add delimiters to FXotm source files. If the FXotm source file contains delimiters but you specify No for the delimiter option, the delimiters will be regarded as part of the data entities and will be transferred to the target dataset.

With padding and delimiters. The figure below shows an FXotm operation for a fixed-length source file with padding and delimiters from a previous FXmto transfer. FCU removes the delimiters but not the padding and transfers the data entities with padding to the target dataset. The original variable- length dataset cannot be used as the target dataset for this transfer. The target dataset must have fixed-length record format with record length set to the maximum record length minus four bytes. If the length of any source data entity does not match the record length defined for the target dataset, FCU aborts the operation and reports an error.

Open-System Source File

Target Dataset

Record length (max) 3 or 2 bytes

 

Data entity 1

D

 

Data entity 2

D

Data entity 3

D

 

Record length (max) 4 bytes

Record 1: Data entity 1 with padding

Record 2: Data entity 2

Record 3: Data entity 3 with padding

2-26

About Cross-OS File Exchange Operations

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

Page 44
Image 44
Hitachi MK-96RD647-01 manual FXotm with Fixed-Length Records Delimiters, Record length max − 3 or 2 bytes Data entity