enviournment variable(password )in Dyanmic RDBMS stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

enviournment variable(password )in Dyanmic RDBMS stage

Post by abhay10 »

Hi all,
i am struck up with a requirement where i have to execute a stored procedure after after the job finishes . and i am using the dynamic RDBMS stage to achieve this but i am not able to achieve it using environment variables like for (password) since it takes it in the encrypted form
can anyone plzz help me out with a solution for this
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That really shouldn't matter. What 7.x version are you using? Do you not have the Stored Procedure stage available?
-craig

"You can never have too many knives" -- Logan Nine Fingers
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

ya thats true but it increases the number of jobs what we have to create

since i have to call the procedure after the job is being executed we need to create another job for executing the stored procedure .since the odbc stage can have only either the input or the output link .

is there any solution out where a we can insert the data to temporary table through the job and after that call a stored procedure to perform the task
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In a parallel job, no.

No passive stage is permitted to have an input link and an output link (not counting reject links). This is an absolute rule in parallel jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Of course, an after-job routine or script can execute your stored procedure. Suggest you code a script and get it running outside of DataStage first, then add it to your job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Back to your original problem as stated, there shouldn't be an issue using an encrypted password in any DB stage. What makes you say you are "unable to achieve it"? What exact issue are you having? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

yup
thanks all i was able to achive it by opening the stage in the grid style mode
abhay10
Participant
Posts: 31
Joined: Tue Nov 20, 2007 11:39 pm
Location: Bangalore

Post by abhay10 »

yup
thanks all i was able to achive it by opening the stage in the grid style mode
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Because you were then able to use the parameter helper tool to populate the field? Then your whole issue was a typing error? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply