Inserting in to Multiple worksheets

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Inserting in to Multiple worksheets

Post by cosec »

Hi,

I am trying to write in to multiple worksheets in an excel file and have an error such as the following :

The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.


The design is that 5 output links coming out of a DB2 stage are writing in to the same excel worksheet but different spread sheets (using ODBC).

When there is one output link I have no error. Anything more than that I am getting the error.

Any suggestions to get it working would be appreciated...Thank You.
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

Try to fill one sheet after the other....
Wolfgang Hürter
Amsterdam
MOHAMMAD.ISSAQ
Participant
Posts: 78
Joined: Fri Mar 02, 2007 4:54 am
Location: CHENNAI

Post by MOHAMMAD.ISSAQ »

You can do it by saving your Excel workbook in .csv format and give each sheet a different file name.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

i think it should create new .csv file for each of file creation link or transformation.
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Post by cosec »

It seems the only option I have at the moment is to write in to a spread sheet at a time.......
sachin1 wrote:i think it should create new .csv file for each of file creation link or transformation.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Why do you say "at the moment"? Do you have some inkling that Microsoft is going to change the way it works?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

Post by cosec »

That I am not too sure but from your answer I guess it's not possible to do what I want...Thanks !
ray.wurlod wrote:Why do you say "at the moment"? Do you have some inkling that Microsoft is going to change the way it works?
edward_m
Charter Member
Charter Member
Posts: 257
Joined: Fri Jun 24, 2005 9:34 am
Location: Philadelphia,PA

Post by edward_m »

Cosec,

Are you able to write into spread sheet..if yes please let me know which update action did you use? Thanks..
Post Reply