importing meta data

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
koolsun85
Participant
Posts: 36
Joined: Tue Jun 15, 2010 3:30 pm
Location: Tampa

importing meta data

Post by koolsun85 »

hello,

I want ti import metadata from *.dat file sent from mainframes.
guide me
thanks in advance
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have the associated COBOL file definition (FD) file?

If so import from that. If not, import the table definition for the Sequential File.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
koolsun85
Participant
Posts: 36
Joined: Tue Jun 15, 2010 3:30 pm
Location: Tampa

Post by koolsun85 »

when i open the *.dat in text pad i can see the data.
If i try to import the table def by sequential file def.. then it is not showing uo the files.
is there any other way to get the meta data...?
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Use sequential file option to import the metadata, later use it in your DB stage. If thats what you are looking for.
Is the sequential file fill with actual data or Metadata?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
vivekgadwal
Premium Member
Premium Member
Posts: 457
Joined: Tue Sep 25, 2007 4:05 pm

Post by vivekgadwal »

koolsun85 wrote:when i open the *.dat in text pad i can see the data.
If i try to import the table def by sequential file def.. then it is not showing uo the files.
is there any other way to get the meta data...?
koolsun85,

If you are able to view the data from Mainframe, then it means that it is in ASCII form. However, it doesn't change the fact that it is a Cobol File and its definition (metadata) is obtained from a CFD (Cobol File Definition). Request one, if you don't have it already. If you have one, try importing it using DataStage, the process for which should be quite straightforward!

Hope this helps...
Vivek Gadwal

Experience is what you get when you didn't get what you wanted
Post Reply