My Oracle Support Banner

ODI: How To Replace Flat File Space Characters with Control Characters for Import into COBOL Mainframe (Doc ID 2305587.1)

Last updated on DECEMBER 18, 2023

Applies to:

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


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?


To view full details, 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 a vibrant support community of peers and Oracle experts.