Adding new empty parameter to a heavy-used sequence

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
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Adding new empty parameter to a heavy-used sequence

Post by DSUser2000 »

I have a sequence which is used in many other sequences. I now want to add a new string parameter to it because a few calling sequences need a "special logic".
The parameter should be empty as a default (so not blank but really an empty string). However, I didn't find a way to do this without changing all jobs. Leaving the default value empty leads to all sequences requesting me to explicitly fill out the parameter on recompilation (without recompilation they actually work correctly but that is not a feasable solution). Is there any way to define an empty string as the default?
abhinavagarwal
Participant
Posts: 26
Joined: Thu Jun 19, 2008 12:39 am
Location: Atlanta

Re: Adding new empty parameter to a heavy-used sequence

Post by abhinavagarwal »

Define a parameter at project level with blank value and use that in your sequence so that other sequence would not complain to define that explicitly... I think this should resolves your issue.
If not than please let me know for my learning :)
- Thanks and Regards,
Abhinav Agarwal
DSUser2000
Participant
Posts: 42
Joined: Tue Oct 20, 2009 8:36 am

Post by DSUser2000 »

I think it would probably work but in accordance with the coding standards here we are not allowed to create project level parameters on our one. These parameters are only allowed to be defined for really global variables...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Then "they" - the makers of the rules - have a problem. Throw it to them.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply