Mass Delete Jobs?

 8 Replies
 0 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
This_Guy
Veteran Member
Posts: 93
Veteran Member
New Poster
New Poster
Congrats on posting!
Hey guys & gals... I know that you can use jobinq to review/edit/delete jobs one-by-one, but is there a way to mass delete these defined jobs? I have an active user that recently realized you dont need a new job for each and every possible scenario (she figured out how to user parameters! Finally!!) so she has many many many defined jobs for AP520. Is there a way to mass delete these? I suppose I could delete them from GEN tables, but wanted to see if there was a less daunting effort?

TJ Mann
Veteran Member
Posts: 70
Veteran Member
deljobhst under that username will take care ALL jobs under that username.
This_Guy
Veteran Member
Posts: 93
Veteran Member
New Poster
New Poster
Congrats on posting!
Thanks TJ, but doesnt deljobhst just delete the report/print mgr stuff? I am looking to mass delete her AP520 defined Job Names. The whole jobs themselves...
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Depends on the parameters that you use. Parameter j says 'Delete recurring job entries' or c says 'Delete completed job entries'
John Henley
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
deljobhst just deletes history (job logs and print files).
There is not a command-line utility to mass remove jobs [without removing the user ]
Use jobinq -- it will display all jobs for a particular user, and you can delete the desired ones, all from one screen.
Thanks for using the LawsonGuru.com forums!
John
This_Guy
Veteran Member
Posts: 93
Veteran Member
New Poster
New Poster
Congrats on posting!
Yeah, I know John. Its just a pain in the rectum, because each time I delete one, the cursor returns to the top of the list. And the jobs I am deleting are towards the middle/end. Ugh. Maybe I'll just do some SQL stuff in the GEN tables.... ??
TJ Mann
Veteran Member
Posts: 70
Veteran Member
only if you know all tables holding that record. shoot me offline email. may be i can share you some of my shell scripts. mannt@email.chop.edu
John Henley
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Press [Home] to mark all of the jobs, then [F9] / [B} to delete them
Thanks for using the LawsonGuru.com forums!
John
This_Guy
Veteran Member
Posts: 93
Veteran Member
New Poster
New Poster
Congrats on posting!
Nice work John! Thanks...