Need help in while executing Perl Script with Custom stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
sudheerkumar541
Participant
Posts: 11
Joined: Tue Jul 05, 2016 11:04 pm

Need help in while executing Perl Script with Custom stage

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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?
-craig

"You can never have too many knives" -- Logan Nine Fingers
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Sudheer, maybe an External Source Stage with your perl program in there...

Is that the "custom rapper" method you are talking about?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:wink:

Wrapped stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply