Hi,
We are trying to import Mainframe(.CPPfile)file into Datastage, how to do that? is there any pirticular stage to do this.
Thanks & Regards
Sas
How to Import Mainframe(cobol)file into DataStage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You need to import the metadata first. In Manager choose Import > Table Definition then choose COBOL FD (or DCLGen, if that's what you have) from the list of available sources. For a COBOL FD table definition you must provide the column number in which the 01 level item appears.
Once you've done that, you will find that a simple file can be read with a Sequential File stage (having loaded the metadata), while a more complex file can be read with a Complex Flat File stage.
Once you've done that, you will find that a simple file can be read with a Sequential File stage (having loaded the metadata), while a more complex file can be read with a Complex Flat File stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.