deljobhst - Delete Job History
deljobhst [-ckjrUvw] [-d] [-u Domain\username] [-n JobName] [-f fromdate] todate
Delete the print files, completed job entries, and waiting job entries with an Invalid Parameter status. You can also delete individual job logs on the Completed Jobs form, which removes the GEN database record but keeps the physical files. For more information, see Lawson Administration: Jobs and Reports.
This utility is securable and if a security violation is encountered, access must be granted to the token through LSA. To grant a user access, see the Resources and Security Administration Guide.
Program Option | Description |
---|---|
-c
|
Delete Completed Job Entries. Deletes completed jobs on the Completed Jobs form and deletes the associated job logs from %LAWDIR%\system\joblog. Note: This also deletes other files in %LAWDIR%\system\joblog
that do not have GEN database record as well as lapm logs wherein their associated
PIDs are not running regardless if you use the -u
Domain\username option.
|
-k
|
Keep Entries, Do Not Delete Produces a report listing the job histories without deleting them. |
-j
|
Delete Recurring Job Entries Deletes recurring job entries that have passed their stop dates. |
-r
|
Delete batch report files. Deletes all print files from the Print Manager. |
-U
|
Print usage and syntax. Prints the file usage and syntax for the selected job history. |
-v
|
Verbose. Produces a report listing the verbose entries. |
-d
|
Debug Messages and Verbose. Displays debug messages and other details while the deljobhst utility runs. |
-w
|
Delete waiting job entries. Deletes the waiting job entries on the Waiting Jobs form. |
|
Delete entries for username. Note: This option is not available if you are using
this utility through a LID form, rather than the command line.
|
-n |
Delete job entries by job name. -uDomain\Account option is required |
-f fromdate
|
The date from which to start deleting job entries, in mmddyy format.
todate is the date to delete job entries
up to, in mmddyy format; or Note: If you do not use the
-f fromdate
option, the system deletes all job histories up to todate.
|
At the command line, specify the information above.
- or -
-
From the Job Control menu, choose Delete Job History.