SPACES BETWEEN CHARACTERS WHILE READING SEQUENTIAL STAGE

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
srireddypunuru
Premium Member
Premium Member
Posts: 40
Joined: Thu Jul 10, 2008 12:45 pm

SPACES BETWEEN CHARACTERS WHILE READING SEQUENTIAL STAGE

Post by srireddypunuru »

Issue while reading a sequential file
Environment : IS 8.5 Fixpack 1 on Windows Server 2008
NLS : Project default (ASCL_MS1252)
Delimiter : Tab
Final Delimiter : End
Record delimiter : Unix Newline / Null (does not matter)
Issue : I am trying to read a sequential file having tab delimiter. For example the data looks as below
ColA ColB ColC
123 456 ABCD
The datatypes for these columns defined are ColA varchar(10 Not Null) , ColB Varchar(50),ColC Varchar(20).

When i view the sequential file or write to any DATASET I see the data displayed with spaces between each characters.
ColA ColB ColC
1 2 3 4 5 6 A B C D
Not sure why this is happening !
Srikanth Reddy
Integration Consultant
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

View the data how?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srireddypunuru
Premium Member
Premium Member
Posts: 40
Joined: Thu Jul 10, 2008 12:45 pm

Post by srireddypunuru »

Viewing using sequential stage view option
Srikanth Reddy
Integration Consultant
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try reading the file with something else, like WordPad.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srireddypunuru
Premium Member
Premium Member
Posts: 40
Joined: Thu Jul 10, 2008 12:45 pm

Post by srireddypunuru »

Ray,

We have used textpad and opened the file able to see the contents of the file but not with the sequential Stage.

Thanks
Sri
Srikanth Reddy
Integration Consultant
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

And do the spaces exist when you use TextPad?
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