I want to know the default path in which the logfile is created.
And can i see this log file.
My requirement is that i want to send a logfile attached in a mail the logfile is nothing but the details you see in the director after a job run.
There is no log 'file'. The logs are hashed files in the job's Project, named with the internal job number: RT_LOG1234 for example.
Your requirement does not have a simple or short answer. How are you planning on implementing this - in BASIC as a routine of some sort or via a scripted approach? Both use the same functions, just obviously in different ways. Check the online help for the various DSGet functions such as:
DSGetLogEntry
DSGetLogSummary
DSNewestLogId
Compare that to using the equivalent options as a command line 'dsjob' option:
-log
-logsum
-lognewest
If you decide on an approach, search the forums here using appropriate keywords as either of these have been discussed here quite a number of times.
-craig
"You can never have too many knives" -- Logan Nine Fingers