We have number of UNIX shell scripts that I would like to run in DS, in a parallel fashion and I thought I would explore the wrapped parallel stages.
So I have created a wrapped parallel stage that runs "test -s" UNIX command.
When I'm running a job that contains this stage (and only this one) I;m getting the following error:
ValidateFileExists,0: Wrapped Unix command 'test -s /home/me/*.sh' terminated with error, exit code 1.ValidateFileExists
The "test -s /home/me/*.sh" has no issues when running from within a shell script on UNIX box.
What am I doing wrong?
Also, is there a more efficient way to run UNIX commands? I'd like to validate input files before they actually get loaded into DS (they can be quite large) and we already have scripts that do quite a lot of this validation and can be adapted.
Wrapped Unix command terminated with error
Moderators: chulett, rschirm, roy