to check whether specified database is working...

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
rajiivnb
Participant
Posts: 77
Joined: Fri Sep 10, 2004 8:38 am
Location: India

to check whether specified database is working...

Post by rajiivnb »

Hi all,

how do we verify that we are able to connect to all the databases that are setup in particular job, means in the source and the target odbc stages.

thnx in advance.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do you mean automatically, perhaps as part of a job sequence? Or is this a general question?

In general, you can Validate a job rather than Run it to see if it can connect to all of the various source and target stages in the job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rajiivnb
Participant
Posts: 77
Joined: Fri Sep 10, 2004 8:38 am
Location: India

Ho to check the database conenction

Post by rajiivnb »

Hi chullet,

its not actually a general question. see if i give dsn, username and password. instead of seeing the View data from a database stage.. is there any other option, just i want to verify the give dsn and the username password is working properly for the database stages...


thnx in advance
rajiivnb
Participant
Posts: 77
Joined: Fri Sep 10, 2004 8:38 am
Location: India

to check whether specified database is working...

Post by rajiivnb »

thnx chulett its working fine.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Rajiv,

Craig was talking in general as well as about your case in particular; you can do a VALIDATE run to see if your database connectivity and other job attributes are runnable or you can do a view data. Other ways of checking your DSN,UserId & Password are more convoluted.

If you wish to do this from a sequence it is quite easy, call up a dummy job that connects to the the database and use the return code to see if your Db is available.
Post Reply