On 07 Aug 2012 08:03, Mr. K.V.B.L. wrote:
> <<SNIP>> adding job logs entries into a job called QPRTJOB. I delete
> these things but they never go away completely. Deleted entries have
> a status of FIN.
>
> <<SNIP>> server job. Anyway, any details on getting rid of the FIN
> deleted logs?
The *N/UsrPrf/QPRTJOB jobs are the owning job [see SPLFOWN parameter
of OVRPRTF, CRTPRTF, CHGPRTF] of a spool file when the owner should not
be the current job in which the spool file was created. A new job
number by that naming [&N/UsrPrf/QPRTJOB] will be created to become an
owner when yet another SPLF must be assigned a job to the current user
instead of the current job; i.e. removing the job would be somewhat
futile if that or other spooling will effect new entries assigned to the
current user vs the job. Typically only ever one job by that name
[unless spooled files are not being deleted], that the one job exists
for any one user is not an issue once the purpose of the job is
understood and since recognized. Nonetheless, the job can be removed by
issuing an ENDJOB, having specified the option(s) to delete spool data
for the job; i.e. minimally IIRC, to request to "Delete spooled files"
SPLFILE(*YES).
Preventing the creation of the spool files or ensuring they are owned
to another job other than to the QPRTJOB of the current user [i.e. the
SPLFOWN adjusted] would eliminate the creation of the user's QPRTJOB for
the given scenario; albeit such a job possibly generated by another origin.
Regards, Chuck