Error calling DSSetParam
Moderators: chulett, rschirm, roy
Error calling DSSetParam
Hi all,
I'm facing an error. Kindly let me know how to handle this.
This is my error
JobContro[@Execute_Job]:Controller Problem : Error Calling DSSetParam[$OS_DBSCHEMANAME],code = -3 [ParamName does not reference a known parameter of the job]
Though i've declared all the parameters for that job, i'm getting this error. I dont think this is the problem related with the parameters alone. Kindly forgive me if i'm wrong. Pls. help to handle this and to get more knowledge on that.
Note: I've defined th parameter for the DB schema in environmental variable.
Your time would be highly appreciated.
Thanks in advance...
Veera...
I'm facing an error. Kindly let me know how to handle this.
This is my error
JobContro[@Execute_Job]:Controller Problem : Error Calling DSSetParam[$OS_DBSCHEMANAME],code = -3 [ParamName does not reference a known parameter of the job]
Though i've declared all the parameters for that job, i'm getting this error. I dont think this is the problem related with the parameters alone. Kindly forgive me if i'm wrong. Pls. help to handle this and to get more knowledge on that.
Note: I've defined th parameter for the DB schema in environmental variable.
Your time would be highly appreciated.
Thanks in advance...
Veera...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code -3 can only mean what is says - that the parameter name used in the DSSetParam() call is a name that does not exist in the attached job. It may be a mis-spelling, it may be incorrectly cased, it may not exist at all (are you sure you have the right job attached?). You need to check thoroughly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I've checked it Ray. Everything is fine. I mean the Case and spelling. What might be the cause for it?ray.wurlod wrote:Code -3 can only mean what is says - that the parameter name used in the DSSetParam() call is a name that does not exist in the attached job. It may be a mis-spelling, it may be incorrectly cased, it ...
Your time would be highly appreciated.
Thanks,
Veera...
Jeez, was there a special on exclamation points yesterday or something? Calm down.veera24 wrote:It's a sequence job Craig!!!!!!!chulett wrote:You get this where? Is this a Sequence job or your own job control or ...? Also note there's no reason to "set" a parameter using an environment variable, it will inherit it automatically. That ...
![Confused :?](./images/smilies/icon_confused.gif)
That's not really enough detail to help. What are you doing in this Sequence job? Problems with a Job Activity stage? Does the job run correctly if you leave the parameter value for this environment variable empty in the JA when invoking it? As I noted, you use environment variables so you don't have to explicitly pass them to the job...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Of course Craig.
Actually, I've removed that parameter and hard coded the value too. But still didnt get that. And when i removed the parameter and i compiled the job, I can compile it. But after compilation when i looked into Job Control the parameter name was there. I dont know how...
Kindly give me your inputs.
Thanks,
Veera...
Actually, I've removed that parameter and hard coded the value too. But still didnt get that. And when i removed the parameter and i compiled the job, I can compile it. But after compilation when i looked into Job Control the parameter name was there. I dont know how...
Kindly give me your inputs.
Thanks,
Veera...
-
- Participant
- Posts: 247
- Joined: Thu Apr 27, 2006 6:38 am
- Location: Hyderabad
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Similar issue & RESOLUTION with Version 8.0.1
Two parallel jobs were created and tested (ran without warnings/failures). Then it was decided to create sequence jobs to run the 2 parallel jobs. The parallel jobs were changed to run as multiple instance and recompiled. The sequence jobs were then built. When the first sequence job was tested, it failed with the Exception raised: @nscc_utcctd_xcln, Error calling DSSetParam(FileNm), code=-3 [ParamName does not reference a known parameter of the job] error.
It was discovered that if the parallel jobs were ran as multiple instance and the job names were reloaded into the job activity stage of the sequence jobs, then the sequence jobs would run successfully.
![Razz :P](./images/smilies/icon_razz.gif)
Two parallel jobs were created and tested (ran without warnings/failures). Then it was decided to create sequence jobs to run the 2 parallel jobs. The parallel jobs were changed to run as multiple instance and recompiled. The sequence jobs were then built. When the first sequence job was tested, it failed with the Exception raised: @nscc_utcctd_xcln, Error calling DSSetParam(FileNm), code=-3 [ParamName does not reference a known parameter of the job] error.
It was discovered that if the parallel jobs were ran as multiple instance and the job names were reloaded into the job activity stage of the sequence jobs, then the sequence jobs would run successfully.