Schema File: First Line is Column Names:FALSE/TRUE

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
etldeveloper2050
Participant
Posts: 22
Joined: Tue Aug 19, 2008 7:44 pm

Schema File: First Line is Column Names:FALSE/TRUE

Post by etldeveloper2050 »

Hi,
I have a job wherein i am reading data from a csv file using sequential file stage and passing the column definitions through a schema file. Its a common job which will be used for multiple files. Now some of the files comes with column name and some not, that's why i have kept First Line is Column Names option in sequential file stage as FALSE.

I wanted to know if we can mention "First Line is Column Names=FALSE/TRUE" in the schema file itself.

I hope my problem description is clear. If not please excuse me.
Thanks for your help.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Probably not, since this is a stage property not a link property. The schema is a link property.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
nani0907
Participant
Posts: 155
Joined: Wed Apr 18, 2007 10:30 am

Post by nani0907 »

Hi ,

could any body confirm please whether we can use first name column property in schema file definition....

Thanks in advance
thanks n regards
nani
Post Reply