Page 1 of 1

Needs logs for aborted or warning runs

Posted: Wed Aug 31, 2011 9:25 am
by sreddy
When i try to use the routine posted here I am getting -1.

How you can get logs. Please explain me in reply mail.

Posted: Wed Aug 31, 2011 10:10 am
by chulett
:!: Please start your own topic, explain to us what you are needing/trying to do and post the code you are using.

thanks

Posted: Wed Aug 31, 2011 2:09 pm
by sreddy
I try to getting the logs from datastage directory. When the job Abort or Warning.
Advise me how to right the routines.

First time i am working on Server Routine.

Thanks
SReddy

Posted: Wed Aug 31, 2011 9:29 pm
by chulett
I'm curious what part of "start your own post" was unclear?

Regardless, here you are split out into your own post, one which you can now control the fate of. I had to guess on the Release & OS values, please let us know if those are wrong.

Can you elaborate just a wee bit on your requirement? Details such as when you need to get the logs (immediately? once nightly?) and what exactly you need to do with them will help shape a cogent answer. Note that this doesn't need to be a "routine" as all of the same functionality is available at the command line using dsjob if a scripted approach would be... more better.