Hi there.
Here's the thing.
I need to call a unix script from a parallel job. I need to pass a input parameter (column from a source) and then get a output from the script that will be send to a target stage (sequencial file for instance). That script takes a sigle input, make some calculation, and then returns a single value.
I know there's a way to call a shell script from job properties (after-before sub) but I need to process each row from my source
Tried with encode, external filter stage, but no success.
Thank you very much.
Ges
CALL UNIX SHELL SCRIPT FROM JOB
Moderators: chulett, rschirm, roy
Re: CALL UNIX SHELL SCRIPT FROM JOB
There is a Stage for that. Try the External Source Stage I believe.
Re: CALL UNIX SHELL SCRIPT FROM JOB
Hi.
Didn't work. External Source is pretty much a way to generate a start data flow. I already have a source and I need to process each row (transform stage). I managed to do it in server job using a routine to run a unix script, works actually quite well but need to build it in parallel job.
Thanks anyway!
G
Didn't work. External Source is pretty much a way to generate a start data flow. I already have a source and I need to process each row (transform stage). I managed to do it in server job using a routine to run a unix script, works actually quite well but need to build it in parallel job.
Thanks anyway!
G
G.e.s.
Re: CALL UNIX SHELL SCRIPT FROM JOB
Have you thought of using a build op?
Re: CALL UNIX SHELL SCRIPT FROM JOB
Hi.
Build op? Heard of but i've never used them. Considering I don't have a related/proper build op example as a starting point, it can backfire by not having enough time.
Thanks PaulVL.
SC
Build op? Heard of but i've never used them. Considering I don't have a related/proper build op example as a starting point, it can backfire by not having enough time.
Thanks PaulVL.
SC
G.e.s.