Job Parameter Compilation Error
Moderators: chulett, rschirm, roy
Job Parameter Compilation Error
Hi,
"Activity abc: trigger Expression CareteTarget - Variable 'paramname' not defined"
We are getting this error sometimes when we try to complie the sequence job individually and sometimes when we do multi-job compilation.
and we checked the parameter is defined in Job Properties and the same is being called in the activity..
Note: we dont get this error all times...
Does anybody has any clue wat is the reason for this..? Does anybody have seen this before..?
Thanks
"Activity abc: trigger Expression CareteTarget - Variable 'paramname' not defined"
We are getting this error sometimes when we try to complie the sequence job individually and sometimes when we do multi-job compilation.
and we checked the parameter is defined in Job Properties and the same is being called in the activity..
Note: we dont get this error all times...
Does anybody has any clue wat is the reason for this..? Does anybody have seen this before..?
Thanks
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Somewhere you've mis-spelled, mis-cased or failed to define a job parameter called "paramname". Indeed, it may be that someone has cut-and-pasted syntax from help. You have to find this. An easy way is to export the job and search in the export file for "paramname".
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
My comment: my opinion sounds right
Take Sherlock Holmes's advice; eliminate one factor at a time. Or heed Occam's Razor - don't go looking for unnecessarily complicated explanations.
Take Sherlock Holmes's advice; eliminate one factor at a time. Or heed Occam's Razor - don't go looking for unnecessarily complicated explanations.
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.
-
- Premium Member
- Posts: 252
- Joined: Mon Sep 19, 2005 10:28 pm
- Location: Melbourne, Australia
- Contact:
I seem to be opening a lot of old threads lately.... Normal apologies apply, but this too is a relevant followup (since there was no other followup on this thread).
I too had the same problem as kab123.
It happened after I exported/imported/compiled all jobs: sequences that used Env Vars in trigger conditions all failed to compile.
I tried
- Deleting and re-creating the trigger (using the expression builder - no mis-spellings).
- Dropping and re-creating the Env Var in Administrator.
Neither worked. I brought the DS server down and restarted: SUCCESS :D
Conclusion: there is a bug in 7.5.1a server that affects Job Sequences with trigger conditions that reference Env Vars.
I too had the same problem as kab123.
It happened after I exported/imported/compiled all jobs: sequences that used Env Vars in trigger conditions all failed to compile.
I tried
- Deleting and re-creating the trigger (using the expression builder - no mis-spellings).
- Dropping and re-creating the Env Var in Administrator.
Neither worked. I brought the DS server down and restarted: SUCCESS :D
Conclusion: there is a bug in 7.5.1a server that affects Job Sequences with trigger conditions that reference Env Vars.
Ross Leishman
-
- Participant
- Posts: 31
- Joined: Mon Dec 01, 2003 6:24 am
- Location: London
Hi,
I believe your all experiancing the following wierd behaviour:
when using parameter in a user variable or similar stages and something else is wrong your getting the wrong error message.
Work Around!!!
pust a User Variavble stage setting a user Variable wo the parameter value and use this user variable temporarily (unless you don't mind leaving it.
Once you do this and recompile you'll get the correct error message and go on to fix it.
If you don't want to leave the redundant user variable, once you successfully compiled the job you can sfely remove the user variable and use once more you parameter value in the stage expression.
Yea I know I'm also I got to figure this all out.
IHTH,
I believe your all experiancing the following wierd behaviour:
when using parameter in a user variable or similar stages and something else is wrong your getting the wrong error message.
Work Around!!!
pust a User Variavble stage setting a user Variable wo the parameter value and use this user variable temporarily (unless you don't mind leaving it.
Once you do this and recompile you'll get the correct error message and go on to fix it.
If you don't want to leave the redundant user variable, once you successfully compiled the job you can sfely remove the user variable and use once more you parameter value in the stage expression.
Yea I know I'm also I got to figure this all out.
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
-
- Premium Member
- Posts: 252
- Joined: Mon Sep 19, 2005 10:28 pm
- Location: Melbourne, Australia
- Contact:
Haven't got the error happening right now, but I tried what you suggested on a seq that was getting the error earlier, and it compiled fine; no "correct" error.
Looks like I went in a bit hard bringing down the server. I didn't try just restarting Designer.jenkinsrob wrote:I have found that simply closing Designer and Reopening it solves this problem.
Ross Leishman