Is it Possible to read a word file in Datastage Server jobs

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
Jagan617
Participant
Posts: 42
Joined: Thu Jun 05, 2008 7:37 pm

Is it Possible to read a word file in Datastage Server jobs

Post by Jagan617 »

Hi,

Is it possible to read a word document and write the contents in different txt file through a datastage job ? I think it is not possible. Does anybody tried or is there a way to read a word document through the DS job? please assist me
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your "no" is correct, unless you completely understand the layout of the Word file (tip: nobody does).

However, your DataStage might invoke some VBA script that performs that task as a before-job subroutine, so that the DataStage job itself can then process the text file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Jagan617
Participant
Posts: 42
Joined: Thu Jun 05, 2008 7:37 pm

Post by Jagan617 »

Thanks Ray for the prompt Response
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Of course you can save the Word file as a txt or similar format to begin with then read it without much effort.

Is the newer docx format any easier to work with? Is it XML based?

What about the MS OLD DB stage, would it help or not?
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply