Make parameter value mandatory

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
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Make parameter value mandatory

Post by mavrick21 »

Hello,

I was wondering if there's a way to make/remind the user to input a value for a parameter by a dialog box pop-up in a Sequence.

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There's no such animal. And while some parameter types are 'required' (like Date and Integer off the top of my head) others are optional and can be left empty. While you couldn't pop up any kind of dialogue box, you could have (for example) a custom routine that validates the parameters passed in and aborts the Sequence if it doesn't like what it sees.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Thanks Craig! That was useful and helped with my issue.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Providing an illegal value as default will have this effect. For example, if the default value of a Date job parameter is "", then this will prevent a job run request from being issued successfully.

Unfortunately, every value is legal for String parameter type.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Thanks Ray :)
Post Reply