Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Portal
Benchmarking jobs' execution time
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
163
Members:
0
Total:
163
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
User Experience
Lawson Portal
Benchmarking jobs' execution time
Please
login
to post a reply.
4 Replies
2
Subscribed to this topic
14 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
SusanBarlow
Basic Member
Posts: 6
2/15/2018 6:03 PM
I want to be able to graph the execution times of jobs/batch programs. Is there a data source I can use for this besides getting every users print manager history?
Greg Moeller
Veteran Member
Posts: 1498
2/15/2018 6:15 PM
Split
You can start here: --- obvisously this returns all of the jobs in the job table, so you may want to just include from specific dates.
SELECT USERNAME,JOBNAME,TOKEN,ACTSTARTDATE,ACTSTARTTIME,
CAST(DATEADD(SECOND, FLOOR(ACTSTARTTIME / 10000) * 3600 + FLOOR(ACTSTARTTIME / 100) % 100 * 60 + ACTSTARTTIME % 100, 0) as time) as 'Start HH:mm:ss',
STOPTIME,
CAST(DATEADD(SECOND, FLOOR(STOPTIME / 10000) * 3600 + FLOOR(STOPTIME / 100) % 100 * 60 + STOPTIME % 100, 0) as time) as 'Stop HH:mm:ss',
CONVERT(CHAR(8), DATEADD(SECOND, DATEDIFF(SECOND,CAST(DATEADD(SECOND, FLOOR(ACTSTARTTIME / 10000) * 3600 + FLOOR(ACTSTARTTIME / 100) % 100 * 60 + ACTSTARTTIME % 100, 0) AS TIME), CAST(DATEADD(SECOND, FLOOR(STOPTIME / 10000) * 3600 + FLOOR(STOPTIME / 100) % 100 * 60 + STOPTIME % 100, 0) AS TIME)), ''), 114) AS 'RunTime Duration'
FROM gen.dbo.QUEUEDJOB
WHERE STATUS = '63' AND CONVERT(VARCHAR(21),STOPDATE,101) = CONVERT(VARCHAR(21),GETDATE(),101)
-- ORDER BY 'RunTime Duration' desc
ORDER BY ACTSTARTDATE desc, ACTSTARTTIME desc
SusanBarlow
Basic Member
Posts: 6
2/15/2018 6:31 PM
Split
Much gratitude!
Fire23
New Member
Posts: 1
3/1/2018 5:56 PM
Split
Good afternoon Susan,
Velocity has a proprietary software, called Velocity Zoom (www.velocityzoom.com), which helps to give you real time performance alerts, bechmarking information, and continuous improvement ideas.
We would welcome the opportunity of speaking with you if you were interested in finding out more information about Batch Reporting.
Regards,
Nate
LarryD
Basic Member
Posts: 9
3/2/2018 10:26 PM
Split
She must have an MSSQL database rather than Oracle
Please
login
to post a reply.