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.
retrun value from Execute command to shell
Moderators: chulett, rschirm, roy
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.
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.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.