Problem in Nested Condition Stage in DS7.5.2

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
abhishekachrekar
Participant
Posts: 45
Joined: Wed May 02, 2007 8:30 am
Location: Prague, Czech Republic

Problem in Nested Condition Stage in DS7.5.2

Post by abhishekachrekar »

Hi,

We have a nested condition stage in one of the jobs in DS 7.5.2.
The stage should call link A if the job parameter AcctCustMapOnly is "N" else call link B.
But the stage gives error "Expected: left parenthesis ("(")" in the custom condition AcctCustMapOnly = "Y" and AcctCustMapOnly = "N".
When I use any other job parameter then it excepts it.
Also if I change the spelling of this job parameter it accepts it, but not the original one.
We cannot change the job parameter name as it is fed through a parameter file.
Can anyone suggest any idea to solve this problem.
Looking forward for your kind help.

Thanks and Regards,
Abhishek
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could either of these two names be used as column names as well?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or an existing function, since it seems to be expecting a paren? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
abhishekachrekar
Participant
Posts: 45
Joined: Wed May 02, 2007 8:30 am
Location: Prague, Czech Republic

Post by abhishekachrekar »

The problem is in only this job parameter. It works fine with all other job parameters. When I change the spelling of this job parameter then it works.
As said earlier this job parameter comes from a job parameter file created by a VB tool. Hence in order to change this parameter name it will involve a huge effort.

Also we are just migrating this code from DS7.1 to DS7.5.2
And it works fine on DS7.1.
Regards,
Abhishek
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well... you just basically repeated your first post without answering either of our questions. What one generally finds as one upgrades is 'bugs' or things you could have gotten away with in an earlier version are fixed in the latest release and no longer work. So the fact that this used to work and no longer does doesn't really suprise me.

Have you contacted your official support provider? Or specifically checked the situations we wondered about?
-craig

"You can never have too many knives" -- Logan Nine Fingers
abhishekachrekar
Participant
Posts: 45
Joined: Wed May 02, 2007 8:30 am
Location: Prague, Czech Republic

Post by abhishekachrekar »

Hi Guys,

You are right. We have a routine with the same name in the project.
I have renamed the routine and now I am able to compile the sequencer containing the nested condition stage.

Thanks a Lot for the help.

REgards,
Abhishek
Regards,
Abhishek
Post Reply