Hello Sharon
Yes I found the wiki on the message board. Would be nice if people could put there sql for reports in there. I am trying to run a forecast report but the report tells the time the application will kick off but really exact for the jobs itself.
CA send me this code to add into a sql script. Do you have a report that will do this?
As discussed, the canned forecast report doesn't provide the actual job start/end time. You want to query ESP_GENERIC_JOB.START_DATE_TIME and ESP_GENERIC_JOB.END_DATE_TIME for those information. you can use the desktop client report facility or your own reporting tool.
I have this report but it is trying to pull history data. Not forecasted data.
DECLARE @FROMDATE datetime;
DECLARE @TODATE datetime;
set @FROMDATE = '2014-02-28 06:00';
set @TODATE = '2014-03-03 06:00';
SELECT ESP_GENERIC_JOB.JOB_NAME, ESP_GENERIC_JOB.JOB_QUALIFIER, ESP_APPLICATION.SCHEDULED_DATE_TIME, ESP_GENERIC_JOB.START_DATE_TIME,
ESP_GENERIC_JOB.END_DATE_TIME, ESP_GENERIC_JOB.COMPLETION_CODE, DATEDIFF(MI, ESP_GENERIC_JOB.START_DATE_TIME,ESP_GENERIC_JOB.END_DATE_TIME) as [TOTALQT]
FROM ESP_APPLICATION INNER JOIN
ESP_GENERIC_JOB ON ESP_APPLICATION.APPL_ID = ESP_GENERIC_JOB.APPL_ID
WHERE (ESP_GENERIC_JOB.START_DATE_TIME > @FROMDATE)
AND (ESP_GENERIC_JOB.START_DATE_TIME < @TODATE)
ORDER BY ESP_GENERIC_JOB.START_DATE_TIME;
I will look some more.
Hermien
From: CA Workload Automation Global User CommunityMessage Boards [mailto:
CommunityAdmin@communities-mail.ca.com]
Sent: Tuesday, February 25, 2014 4:00 PM
To:
mb_message.2270756.109961951@myca-email.ca.com
Subject: [CA Workload Automation DE (dSeries Edition)] RE: CA Workload Automation R11.3 Custom Reports
I have not found the report perspective to be very friendly.
I would create an SQL (i use SQL Developer when creating a report), then set up a DB SQL job type and schedule the report to run as needed. You can email the spool file to the correct group fr the Notification Email tab and check attach spool file upon completion of the report.
Sharon
Posted by:shimaneks
--
CA Communities Message Boards
109964491
mb_message.2270756.109961951@myca-email.ca.com<mailto:
mb_message.2270756.109961951@myca-email.ca.com>
https://communities.ca.com