Figure 24 Overview of Code Conversion in Variable Length Records (“end” not specified for field
length)
.
• Record 1: Code conversion is performed on Field 1 only. The rest of the Mainframe record is
padded with a padding code. Fields 2 and 3 are not processed.
• Record 2: Code conversion is performed on Fields 1 through 3.
• Record 3: Code conversion is performed on Fields 1 and 2. The rest of the Mainframe record
is padded with a padding code. Field 3 is not processed.
• Last field = variable length: The following figure shows how otm (open systems-to-Mainframe) code
conversion is performed when the last field specified in the Field Definition file has a variable
length (when “end” is specified for the input field length).
Figure 25 Overview of Code Conversion in Variable Length Records (with “end” specified for field
length)
.
• Record 1: Code conversion is performed on Field 1 only. The rest of the Mainframe record is
padded with a padding code. Field 2 is not processed.
• Record 2: Code conversion is performed on Fields 1 and 2.
• Record 3: Code conversion is performed on Fields 1 and 2. The rest of the Mainframe record
is padded with a padding code.
P9000 Data Exchange Code Converter User Guide 43