Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
User Reports/Joblist Cleanup
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
262
Members:
0
Total:
262
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
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
1372
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
Infor / Lawson Platforms
S3 Systems Administration
User Reports/Joblist Cleanup
Please
login
to post a reply.
7 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
TBonney
Veteran Member
Posts: 281
7/12/2011 11:39 AM
Does anyone know of the table names that list all reports/jobs created by each user, and whether or not they include a "last submit" date?
I know there are some users who create new jobs all the time, who have 4-5 year old jobs that have not been used in 3-4 years. I would like to maintain these user joblists & remove these obsolete or unused jobs from them, so that when they drill, the list displays quicker.
Has anyone ever done any joblist maintenance like this who might like to share their approach?
Thank you.
John Henley
Posts: 3353
7/12/2011 1:10 PM
I won't give you all the answers :)
But you should be able to find what you're looking for in the GEN database in the JOB/JOBSTEP/QUEUEDJOB tables.
You can also get some information from the JobServer servlet.
http://lawson.example.com...STATUS=completedjobs
TBonney
Veteran Member
Posts: 281
7/12/2011 2:07 PM
Thanks John...I'll take a look!
JimY
Veteran Member
Posts: 510
7/14/2011 10:46 AM
Hi John,
Your link is not working. I took a look at those tables because I am also interested in doing some cleanup, but they do not have any date to indicate how old they are. Is there a way to determine this? Thank you.
TBonney
Veteran Member
Posts: 281
7/14/2011 10:59 AM
JimY,
The link John provided works once you modify it to use your own sever info. However, it looks like this servlet only actually proviodes the last 30 days worth of data. Therefore, I am now working on querying the table names John also provided.
TBonney
Veteran Member
Posts: 281
7/14/2011 11:18 AM
John,
If a job exists on the JOB table, but that same job is not found on the QUEUEDJOB table, does that mean that the job has never been run (and therefore, can be deleted)? Also, does the QUEUEDJOB table only retain records within a certain date range (like one year)?
Thank you!
Jeff White
Veteran Member
Posts: 83
7/14/2011 1:37 PM
What I would do, is create a shell script that finds .prt files in the print directory older than a certain date.
ex. (Jobs that haven't run in over a year)
find /law90/lawson/print/*/*/*/*.prt -mtime +365 -exec ls -l {} \; > output.txt
/law90/lawson/print/lawson/ap150-10/1/AP150.prt
/law90/lawson/print/lawson/ap150-1000/1/AP150.prt
I would then use awk to get the values that I needed (username, jobname), and write that to a file. Then create a very simple cobol program to read in that file using the BATCH PROCESSING API's and delete the job(s). All automatic and running out of recdef.
Jeff
Venkat
Advanced Member
Posts: 22
7/29/2011 1:40 AM
To answer TBonney's questions:
QUEUEDJOB gets cleared if one runs deljobhst and chooses to delete completed jobs. So unless deleted by the user the records would remain forever. If a job exists in JOB table but not in QUEUEDJOB table you may conclude it was never run if you have not been cleaning the table up frequently. The columns actstartdate, stopdate would indicate when the job was run.
Please
login
to post a reply.