Execute command activity

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
adams06
Participant
Posts: 92
Joined: Sun Mar 12, 2006 3:00 pm

Execute command activity

Post by adams06 »

Unix command

sname.ksh -s username -p password -d sid -l logpath -c date


How do we create a sequencer using Execute Command Activity stage. How do i need to pass the parameters to make it run successfull

Do we need to specify the options -s, -p, -d, -l, -c in datastage parameters

Thanks in advance
ShaneMuir
Premium Member
Premium Member
Posts: 508
Joined: Tue Jun 15, 2004 5:00 am
Location: London

Post by ShaneMuir »

On the Execute Command tab of the stage in the sequence in the command field you would put your script name:
eg:
./Filepath/script.ksh

In the parameters field you would list your parameter names as required.
eg -s #user_param# -p #pass_param# etc

Or in the command field you could put :;

and then put everything in the parameters field
.#Path_Name#/script.ksh -s #user_param# -p #pass_param#



Enjoy
Post Reply