Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add columns Cognos script

Status
Not open for further replies.

JDAEMS

Programmer
Aug 27, 2003
84
BE
Hi,

I have a model with 111 datasources which all have the same columns. However recently I had to put in two extra columns in the IQD's and this means that I had to modify all datasources in Transformer, which will take me a while as Transformer needs to add two columns.

But now I am writing a script to do this automatically. I have managed to add two columns to each datasource. But they are linked to the field in offset 0, while they should be linked to affsets 14 and 15. How can I set the offset in Cognos Script editor? Can anyone help me on this one?

Thank you in advance.
Kind regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top