I Have a req where i need a routine which can read jobname,directory path,start timestamp,End timestamp as Parameters.
This Routine should run monthly and capture all job log for past month(between the timestamp parameters) and write into a file and zip the file and also clear the log that was captured.
Can some body post if you have similar code that works for this req.
Thank You Very Much....!
Last edited by Basavan on Tue Apr 03, 2007 9:11 am, edited 1 time in total.
Routines don't run - jobs run. Your best option is to use the dsjob program inside a unix shell script.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
You could, but why re-invent the wheel? Have you even looked at using dsjob?
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Search here! Or, go to the DS Engine/bin and type dsjob, you can see all of the options. There's always the manuals under your Start button, there's lots of detail on the command line program there as well.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle