job log
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 27
- Joined: Thu Aug 25, 2005 6:33 am
job log
Hai all,
I want the job log, which is generated when a job is run, into a file.
Can any body help me in doing this.
Thanks,
S K Reddy
I want the job log, which is generated when a job is run, into a file.
Can any body help me in doing this.
Thanks,
S K Reddy
-
- Participant
- Posts: 20
- Joined: Fri Oct 14, 2005 12:52 am
Re: job log
You can view the job log from the director or view job log option in menu in Designer.
With Regards,
With Regards,
sasi_kumarreddy wrote:Hai all,
I want the job log, which is generated when a job is run, into a file.
Can any body help me in doing this.
Thanks,
S K Reddy
Yatin Mittal
Accenture Services Pvt. Ltd.
Accenture Services Pvt. Ltd.
Re: job log
I'm sorry... did someone ask how to view the job log?yatin.mittal wrote:You can view the job log from the director or view job log option in menu in Designer.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Hi,
Lacking info I decided to move this post to the server forum, though this answer will apply to a PX job as well.
On top of what was said already:
What exactly do you need?
A dump of a particular log you wish to save manualy?
(Print via the ds Director will do)
After each run save the job log in a file foreach job you run?
(wrap your job running command with a sequence that will run a job/routine making the report after the job is done)
Giving more info would be helpfull
IHTH,
Lacking info I decided to move this post to the server forum, though this answer will apply to a PX job as well.
On top of what was said already:
What exactly do you need?
A dump of a particular log you wish to save manualy?
(Print via the ds Director will do)
After each run save the job log in a file foreach job you run?
(wrap your job running command with a sequence that will run a job/routine making the report after the job is done)
Giving more info would be helpfull
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In Director, choose Print from the Project menu. Choose the items and level (summary or detail) that you want. Check the Print to File check box. Nominate the file into which you want the logged events written.
(Your original post did not specify "automatically" nor give any reason for your requirement. Searching the forum will provide at least two means by which you can automate this process - one of them is a DataStage job.)
(Your original post did not specify "automatically" nor give any reason for your requirement. Searching the forum will provide at least two means by which you can automate this process - one of them is a DataStage job.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 27
- Joined: Thu Aug 25, 2005 6:33 am
job log in file...
roy wrote:Hi,
Lacking info I decided to move this post to the server forum, though this answer will apply to a PX job as well.
On top of what was said already:
What exactly do you need?
A dump of a particular log you wish to save manualy?
(Print via the ds Director will do)
After each run save the job log in a file foreach job you run?
(wrap your job running command with a sequence that will run a job/routine making the report after the job is done)
Giving more info would be helpfull
IHTH,
Hi Roy,
I have a .doc file. i need to append job log into that file when ever the job runs.
Regards,
Sasi
SASI
Hi Sasi,
If you are running the job through command line, then probably you can use following command to capture the log into a file:
$DSHOME/bin/dsjob -logsum -max 100 project_name job_name >> logfile
where,
$DSHOME environmental variable keeps the DS Home directory path
100 - specifies the maximun no. of logs to be taken
Hope this might help you.
Cheers!
If you are running the job through command line, then probably you can use following command to capture the log into a file:
$DSHOME/bin/dsjob -logsum -max 100 project_name job_name >> logfile
where,
$DSHOME environmental variable keeps the DS Home directory path
100 - specifies the maximun no. of logs to be taken
Hope this might help you.
Cheers!
Nitin Jain | India
If everything seems to be going well, you have obviously overlooked something.
If everything seems to be going well, you have obviously overlooked something.
-
- Participant
- Posts: 27
- Joined: Thu Aug 25, 2005 6:33 am