Page 1 of 1

I need to get log details in my invoking shell script

Posted: Tue Jan 04, 2005 4:02 am
by vinodlakshmanan
I am calling my DS jobs through a shell script and I want to retreive some details in the DS logs, specifically start-end time, number of records, processing time of each stage, and put them in standard text files which my script uses as logs. Is this possible using dsjob or any other commands?

Posted: Tue Jan 04, 2005 7:22 am
by richdhan
Hi Vinod,

Search the Server Edition forum. It was discussed some time back. Pls move this to the Server Edition forum you would get immediate response.

I think -logsum option coming with dsjob command should help you.

HTH
--Rich

Be quick to listen, slow to speak and slow to become angry

Posted: Wed Jan 05, 2005 12:17 am
by mandyli
Hi

From the command line there are options to the dsjob command that
perform similar functions, namely -logsum , -logdetail and -lognewest

$ dsjob - run "jobname" - logsum - logdetails


please try this.


Thanks
Man

Posted: Wed Jan 05, 2005 2:24 am
by vinodlakshmanan
dsjob command in D7.0 has an option -report which can be used to get a status report of the job. This command has solved my problem