Column Naming Conventions

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
laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Column Naming Conventions

Post by laknar »

one of the target database has column names as number.
will the datastage support the Column names as number.
i have checked already but need to load the data from file to Database using schema file.
Regards
LakNar
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

DataStage doesn't support number as column names. Column names should start with alphabet. But you can create alias to your column name and use that in DataStage.
You are the creator of your destiny - Swami Vivekananda
laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Post by laknar »

Ok, when we go for Schema File with RCP we cannot use derivations.
Just wanted to know is there any other method to load using Column names as numbers. Handling $ and # characters we can do.
Regards
LakNar
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not really. I guess you could create synonyms in the database. But DataStage can't deal with column names that are numeric.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
laknar
Participant
Posts: 162
Joined: Thu Apr 26, 2007 5:59 am
Location: Chennai

Post by laknar »

Thanks Ray, I have renamed the Columns in Table and recreated.
Regards
LakNar
Post Reply