Search found 8 matches

by ebmusa
Tue Nov 13, 2007 11:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Clients in a PC
Replies: 8
Views: 2309

I would think this should be no problem... You do need to install the MultiClientManager to switch between two versions.
by ebmusa
Tue Nov 13, 2007 11:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Export Job (DSX) command on Unix
Replies: 5
Views: 2609

Here is the command for export:

dscmdexport /H hostname /U username /P passowrd /O Omitflag project pathname /V
by ebmusa
Wed Oct 24, 2007 12:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After-job routine calls unix command 'sed'
Replies: 11
Views: 5071

The single quote solved my problem. Although using both double and single quotes work fine on the unix command line, but I guess DataStage only likes the single quote.

Yes, the file path parameter stays the way as it was.

Thank you all again :P
by ebmusa
Wed Oct 24, 2007 11:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After-job routine calls unix command 'sed'
Replies: 11
Views: 5071

yahooooo! It works. Thank you so much :P
by ebmusa
Wed Oct 24, 2007 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After-job routine calls unix command 'sed'
Replies: 11
Views: 5071

Here is the exact input value for Afater-Job Routine ExecSH I used: sed "s/a/b/g" < #FilePath#/input.txt > #FilePath#/output.txt where #FilePath# is /dir1/dir2/dir3 I can see in the job log that the #FilePath# is expanded correctly, but there is nethier error messages nor output.txt file b...
by ebmusa
Wed Oct 24, 2007 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After-job routine calls unix command 'sed'
Replies: 11
Views: 5071

Sorry for not clearly explained my situation. If you look at the built-in source code for routine ExecSH, it actually calls the DSExecute() function to execute the unix command. the output and msg (or should I say returncode) can be used for capturing what is going on. These two arguments returned n...
by ebmusa
Tue Oct 23, 2007 7:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After-job routine calls unix command 'sed'
Replies: 11
Views: 5071

The command uses absolute path. The command does not work because there is no output.txt file created, and there is no output from the DSExecute("UNIX",..,output,msg) function to tell what went wrong.

Thanks,
by ebmusa
Tue Oct 23, 2007 3:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: After-job routine calls unix command 'sed'
Replies: 11
Views: 5071

After-job routine calls unix command 'sed'

Does anyone know why after-job routine ExecSH does not work on unix command like --> sed "s/a/b/g" <input.txt >output.txt ??

This command works fine if I run it on the command line.

Thanks.