Hi All,
I have my source as COBOL extracted complex flat files. I only need to know if there is a shortest way to generate the table definitons. Well....so far I am doing it manually but would love to know if the tool can help me doing it.
Thanks,
abhishek
how can datastage help to create table definition
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 30
- Joined: Sun Feb 19, 2006 8:14 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not really.
Once you have table definitions you can save them into the repository, and there you can view them as standard, COBOL, or OSH schema (if parallel licensed).
But DataStage can not discover what columns exist in your data. The closest you can get is importing a Sequential File definition, where you go through a process of DataStage generating column names and guessing data types. This works most easily for delimited files or for fixed width format where you enter the column widths in the Format phase.
Once you have table definitions you can save them into the repository, and there you can view them as standard, COBOL, or OSH schema (if parallel licensed).
But DataStage can not discover what columns exist in your data. The closest you can get is importing a Sequential File definition, where you go through a process of DataStage generating column names and guessing data types. This works most easily for delimited files or for fixed width format where you enter the column widths in the Format phase.
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.
-
- Participant
- Posts: 30
- Joined: Sun Feb 19, 2006 8:14 pm
-
- Participant
- Posts: 30
- Joined: Sun Feb 19, 2006 8:14 pm
Table definition from Oracle
Hi All,
I have another query. Suppose I have table already created in Oracle then can I import the table definition to Datastage. Please tell me the procedure if possible.
Thanks,
abhishek
I have another query. Suppose I have table already created in Oracle then can I import the table definition to Datastage. Please tell me the procedure if possible.
Thanks,
abhishek
-
- Charter Member
- Posts: 42
- Joined: Wed Aug 18, 2004 2:49 pm
-
- Participant
- Posts: 30
- Joined: Sun Feb 19, 2006 8:14 pm
Thanks for your reply ratik.
Well...I know how does that happen. Just want to know that if I can see tables and their definitions in TOAD and when they are created in ERwin then how can I use this information in Datastage..
I just want to import this metadata.
Please help me out here.
Thanks,
abhishek
Well...I know how does that happen. Just want to know that if I can see tables and their definitions in TOAD and when they are created in ERwin then how can I use this information in Datastage..
I just want to import this metadata.
Please help me out here.
Thanks,
abhishek
Re: Table definition from Oracle
Manager / Import / Table Definitions / Plug-in Meta Data Definitions.abhishekijain wrote:Suppose I have table already created in Oracle then can I import the table definition to Datastage. Please tell me the procedure if possible.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 30
- Joined: Sun Feb 19, 2006 8:14 pm