Loading table definitions into the job design

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
slavko997
Participant
Posts: 2
Joined: Thu Oct 13, 2005 10:18 am

Loading table definitions into the job design

Post by slavko997 »

Does Anyone know how to automatically load the table definition into the job design ??

I have many jobs which base on the sequential files. The changes of this files are very often. I would like to find a way how to automate the process of loading the structure of the changed files into the DS and then populate it to the design of the jobs. I know manual way how to do it but it is not a solution.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There's no automatic method within the tool. There are reverse-engineered "hack" utilities that could be written, but the only method I use in this circumstance is a staging database that can contain file layout information within a table and dynamically parse it.

You could do the same, read the parsing information from a table and then manually parse the file and re-arrange it into the known and fixed definitions that a DS job requires.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply