How to insert zero while writing data to excel sheet

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
chrisjones
Participant
Posts: 194
Joined: Thu May 11, 2006 9:42 am

How to insert zero while writing data to excel sheet

Post by chrisjones »

Hi Friends,
How to insert zero valuees while writing data to excel sheet using DataStage

Ex:
input: output
------- ----------
00004545--->00004545
I want the data in this format but by default it is removing zerso ,so please help how to insert zero values into Excel sheet.
Thanks,
Chris Jones
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Either write it as VarChar or do nothing and change the cell format within Excel.
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