Page 1 of 1

retrun value from Execute command to shell

Posted: Tue Mar 13, 2007 10:21 am
by seanc217
I have a shell script that calls dsjob to execute a sequence job that has an execute command stage in it. The execute command stage runs another script that returns me a temporary table name. Is there any way to return this table name back to the calling shell script?

Hope that's clear.

Posted: Tue Mar 13, 2007 10:28 am
by DSguru2B
Well the way I see it, you can do it in two different ways
A) Call the second script from within your master script.
B) Let your second script spit out the table name to a file. cat the file from your master script.