ParamName does not reference a known parameter of the job

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
alisoviejo
Participant
Posts: 49
Joined: Fri Nov 11, 2005 10:19 am

ParamName does not reference a known parameter of the job

Post by alisoviejo »

Hi,
I had a job sequence that used to run fine, now it aborts with the following error :

..JobControl (@JobName): Controller problem: Error calling DSSetParam($DIRECTORY), code=-3
[ParamName does not reference a known parameter of the job]


Any ideas?
Thanks,
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You are trying to set a value for the parameter called "ParamName" and this has not been defined. The most common cause of this is just copying an example from here or the documentation - since the used of {ParamName} is meant as a placeholder for you to put in your own parameter name.
alisoviejo
Participant
Posts: 49
Joined: Fri Nov 11, 2005 10:19 am

Post by alisoviejo »

Hi,
I had this seq run before and the param name it is complaining about still exists in the user defined varaibles!
ALISO
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Please check the job you are calling to make sure that the names are still correct, if a called job changes parameter names then the calling sequence needs to be changed as well. And it would be a smart move to give the parameter a more descriptive name than "ParamName".
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There are three things to check when this error occurs.

1. Existence of the parameter name in the controlled job.

2. Spelling of the parameter name in the controlled job.

3. Casing of the parameter name in the controlled job.

If all three of those are correct, open the job activity in the job sequence so that you can verify that an up-to-date set of parameters is having values set; that is, you are not using an out-of-date reference to the controlled job itself.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
arpitchopra
Participant
Posts: 35
Joined: Mon Nov 01, 2010 2:48 am
Location: New Delhi

Post by arpitchopra »

There might be cases when you are using a Parameter Set in your project and suddenly start facing this error.
The reason behind this will be that you have made some modification to your parameter set (added a parameter, deleted something, changed the name etc) and these changes have not yet been reflected in your sequence.

To make sure that this doesn't happen, always use the "Use Default" option while setting the parameter set value for each job in your sequence. In this way, you will be ensuring that the latest available definition of the parameter set is being used in all your jobs.
Arpit Chopra
Post Reply