Hi,
I would like to create a report with the details of all jobs under each category. I am aware that LIST DS_JOBS in command prompt can help me with each of the job details but it doesnt support copying or printing. do we have a work around for this?
My requirement is to create a report with all jobs under each category. your responses would be great help!
Thanks in advance.
Regards,
Sandeep
How to Print/Copy details in LIST DS_JOBS
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 2
- Joined: Mon Mar 19, 2007 3:50 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The following commands will capture the output from your query into a file called jobs.rpt in your project directory. The commands (and the file name) are case sensitive.
You can adjust the widths in the FMT clauses to suit your requirements but they should not exceed 79 characters unless you change the device width. For this report you ought not need to do so.
Code: Select all
DIVERT.OUT ON &UFD& jobs.rpt
SELECT NAME FMT '36L', CATEGORY FMT '40L' FROM DS_JOBS ORDER BY 2,1;
DIVERT.OUT OFF
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.
I give away a bunch of jobs and routines call EtlStats. Several of the jobs and routines are just to produce this kind of documentation. The results all come out as html pages. These jobs and routines all have GenHtml in the name. Both EtlStats and GenHtml have been discussed before. Do a search.
Mamu Kim