download table definations from mainframe

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
Billyqing
Participant
Posts: 44
Joined: Thu May 13, 2004 12:00 pm
Location: Canada

download table definations from mainframe

Post by Billyqing »

Is any way to connect to mainframe and download the table definitions using DataStage?

I am current using DS server edition 6.0.

There are lots of files from mainframe needed to download to Unix server.

Instead of typing the all file definitions, I need to find a better way to download the files and file definitions directly to Unix server.


Appreciate for any suggestions and feed back.

Thanks
Bill
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have "them" dump the table definitions as COBOL file definition (FD) files or, if from DB2, as DCLGen files.

In DataStage Manager, use

Code: Select all

Import > Table Definitions > COBOL File Definitions 
or

Code: Select all

Import > Table Definitions > DCL File Definitions
For importing COBOL FDs you must correctly specify the column number in which the Level 01 items occur.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply