ODI: How To Replace Flat File Space Characters With Control Characters For Import Into COBOL Mainframe

(Doc ID 2305587.1)

Last updated on SEPTEMBER 29, 2017

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Goal

When using an Oracle Data Integrator (ODI) Mapping to extract data from an Oracle table to an ASCII flat file (to be uploaded to a COBOL mainframe), the ASCII file is created using leading spaces instead of zeroes.

However, the ASCII file needs to be left-padded with a control code to be able to properly import into the COBOL mainframe. How can the ASCII file be modified for processing on the COBOL Mainframe?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms