DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
This topic has been marked "Resolved."
Author Message
sateesh



Group memberships:
Premium Members

Joined: 19 Oct 2007
Posts: 6

Points: 62

Post Posted: Fri Jul 30, 2010 2:53 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Unix
Additional info: Pass parameter to a job activity having issue
I have a value in UNIX file text.txt and the value in it like ('xxx','xxx'). I am reading through execute command activity and passing output to a job activity as a parameter but it is failing with the below error.
Test..JobControl (@Job_Activity_24): Controller problem: Error calling DSSetParam(UsrVar1), code=-4
[ParamValue/Limitvalue is not appropriate]

No issues if I pass a single value like 1234. I went through the forums i am seeing a single value passed as a parameter but not like this specific one.

Thank you in advance.
chulett

Premium Poster


since January 2006

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

Joined: 12 Nov 2002
Posts: 28937
Location: Denver, CO
Points: 149521

Post Posted: Fri Jul 30, 2010 3:12 pm Reply with quote    Back to top    

If you looked at other posts with this error, does that mean you are handling the dynamic array that the Execute Command stage returns properly as they note? Meaning, you are removing the @FM at t ...

_________________
-craig


And as in uffish thought he stood, the Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood, and burbled as it came!
Rate this response:  
Not yet rated
sateesh



Group memberships:
Premium Members

Joined: 19 Oct 2007
Posts: 6

Points: 62

Post Posted: Mon Aug 02, 2010 6:32 am Reply with quote    Back to top    

chulett wrote:
If you looked at other posts with this error, does that mean you are handling the dynamic array that the Execute Command stage returns properly as they note? Meaning, you are removing the @FM at the end of the parameter value?


I have not searched forums based on error. I searched how to pass parameters in a sequence job i have seen several scenarios but not exactly the one what I am looking for may be i might have missed.

I am sorry to say this could you please tell me in detail what you meant.

To be more specific about my job here is my sequence job details.
1)ExecuteCommandActivity
Command: cat
Parameters:test.txt ( It has value ('1000','2000')
2) Job Activity
I am assigning under parameters like below but did not work for me
UsrVar:Ex_Com.$CommandOutput

Even I tried to hard code the value ('1000','2000') but it says "Expected: right arenthesis('')'')
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

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

Joined: 12 Nov 2002
Posts: 28937
Location: Denver, CO
Points: 149521

Post Posted: Mon Aug 02, 2010 6:36 am Reply with quote    Back to top    

Then the first suggestion would be to actually search the forums here. You're not the first person to see this error and it has been asked and answered so many times here that it should be easy en ...

_________________
-craig


And as in uffish thought he stood, the Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood, and burbled as it came!
Rate this response:  
Not yet rated
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