DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
sudheerkumar541
Participant



Joined: 05 Jul 2016
Posts: 11

Points: 120

Post Posted: Mon Feb 13, 2017 11:50 pm Reply with quote    Back to top    

DataStage® Release: 9x
Job Type: Parallel
OS: Unix
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

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42215
Location: Denver, CO
Points: 216749

Post Posted: Tue Feb 14, 2017 8:12 am Reply with quote    Back to top    

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

Watch out where the huskies go and don't you eat that yellow snow
Rate this response:  
PaulVL



Group memberships:
Premium Members

Joined: 17 Dec 2010
Posts: 1153

Points: 7639

Post Posted: Tue Feb 14, 2017 11:01 am Reply with quote    Back to top    

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

Is that the "custom rapper" method you are talking about?
Rate this response:  
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42215
Location: Denver, CO
Points: 216749

Post Posted: Tue Feb 14, 2017 11:28 am Reply with quote    Back to top    

Wink

Wrapped stage.

_________________
-craig

Watch out where the huskies go and don't you eat that yellow snow
Rate this response:  
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours