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:
Starr
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5327
People Online:
Visitors:
227
Members:
0
Total:
227
Online Now:
New Topics
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
S3 Customization/Development
LP01 hiding a PTO plan from the list
8/13/2025 4:44 PM
Hi all. is there a way to hide a specific PTO&n
Lawson Business Intelligence/Reporting/Crystal
GLTrans - PO Line/MAInvdtl
8/6/2025 6:13 PM
Hello, we have an existing tabular model for fina
IPA/ProcessFlow
Retrieving GUID from InforOS
7/25/2025 2:22 AM
Hello everyone, I was wondering if there is a way
IPA/ProcessFlow
IPA for forwarding cost messages (MA64/MA66.3)
7/23/2025 6:07 PM
When a buyer has an invoice cost message where the
Lawson Portal
Lawson ESS customization
6/23/2025 10:28 AM
I want to add new links and customize the ESS (sel
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3293
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
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: 3362
7/12/2011 1:10 PM
Split
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
Split
Thanks John...I'll take a look!
JimY
Veteran Member
Posts: 510
7/14/2011 10:46 AM
Split
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
Split
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
Split
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
Split
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
Split
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.