How to execute cognos transformer through DataStage ExecDOS

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
dhwankim
Premium Member
Premium Member
Posts: 45
Joined: Mon Apr 07, 2003 2:18 am
Location: Korea
Contact:

How to execute cognos transformer through DataStage ExecDOS

Post by dhwankim »

Hi All
Now I have tried to execute Cognos Transformer Command throuth DataStage ExecDos Routine.

the Command is below.
"C:\Program Files\Cognos\cer2\bin\trnsfrmr.exe" -n -s "D:\OLAP\Model\hlc-m-01.pyi"

When I ran this command using Windows Terminal Service.
It's Okay.

But When I tried to run the command in DataStage job wherein ExecDos

The Command is not working, just quit just after starting.

So I just want to workaround this progblem or any tips.

Thanks in advance.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Wrap this command in a batch file then execute the batch file. It may work better.
Mamu Kim
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Hello DaeWhan,

Try the start command (or even the AT command).

Code: Select all

start "C:\Program Files\Cognos\cer2\bin\trnsfrmr.exe" -n -s "D:\OLAP\Model\hlc-m-01.pyi" 
You have indicated that this is a parallel job. Is this correct? I presume that you are running ExecDOS as an after-job subroutine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
CLOPES
Participant
Posts: 52
Joined: Tue Jul 22, 2003 8:05 am
Location: France
Contact:

Post by CLOPES »

Hello

Right command is :

start "cube name" /wait "repertory_to_trsf\trnsfrmr.exe" -nologo -dDataSourceDirectory=repertory_to_iqd_if_you_need_it -dCubeSaveDirectory=repertory_to_cube -n repertory_to_modelPYn\Incidents_hotlineUK.pyi

We have several Dos scripts and it works fine. :wink:
Post Reply