schema file

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kavuri
Premium Member
Premium Member
Posts: 161
Joined: Mon Apr 16, 2007 2:56 pm

schema file

Post by kavuri »

Hi,
I am getting different formatted files like comma seperated, continuos length, pipe delimited etc. All are having data not in the same order. I want to read this data and do the necessary modifications and need to write into a common database table or file.

Below are some examples of data.

I dont know how to use a schema file. Can anybody tell me how I can use schema file to read this data into fields. On total I am having 4 or 5 fields in this case.

As I am having so many files to read, I dont want to maintain different jobs.

Please let me know some solution.

Thanks
Kavuri
Last edited by kavuri on Thu Apr 10, 2008 6:26 pm, edited 1 time in total.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A schema file is a standard Orchestrate record schema that accurately describes the format of your data, but the record schema is stored in a separate file rather than as properties of your Sequential File stage.

You can create them simply by saving existing table definitions as record schema files.
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