Page 1 of 1

Need help in while executing Perl Script with Custom stage

Posted: Mon Feb 13, 2017 11:50 pm
by sudheerkumar541
H,
Need help in while executing Perl Script with Custom Wrapped stage in parallel job, I need to give dynamic calculated expression(100+200+300) and my output should be '600', I am able to retrieve in unix , but my job is passing same expression(100+200+300) as output without calculating

Posted: Tue Feb 14, 2017 8:12 am
by chulett
Gonna need much more information before anyone can help. Guessing when you say you are able to "retrieve in UNIX" that it works properly when you call it from the command line, yes? You'd have to show us how you set up the Wrapped stage, I would imagine, plus consider on your side under what circumstances the value would come back out "without calculating".

On the command line are you passing the argument in with or without quotes? Does the former not work but the latter does?

Posted: Tue Feb 14, 2017 11:01 am
by PaulVL
Sudheer, maybe an External Source Stage with your perl program in there...

Is that the "custom rapper" method you are talking about?

Posted: Tue Feb 14, 2017 11:28 am
by chulett
:wink:

Wrapped stage.