Hi
I need to write a flat file with EBCDIC format. Can any body tell me how to do this?
Write file with EBCDIC format
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 30
- Joined: Thu Jan 16, 2003 2:51 pm
In your file stage, the link properties Format tab (whether Input or Output): clear all attributes, right click on "Record level", open the "Format as" sub-menu and click on "Mainframe (COBOL)". The common default format properties for an EBCDIC flat file will be filled in. If your file is not intended for immediate transfer to a mainframe platform, you might have to adjust some of the attibutes. Record type=implicit means there is no end-of-line character provided or expected. If the next process to read the file is DataStage, all you have to do is use the default properties shown above.
Rule-of-thumb: A mainframe "flat" file is continuous data. Formatting is carried in a catalog which acts similarly to schema settings for DS datasets. Your table definition is your control point for the data.
Rule-of-thumb: A mainframe "flat" file is continuous data. Formatting is carried in a catalog which acts similarly to schema settings for DS datasets. Your table definition is your control point for the data.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson
Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872