Batch jobs disappear

25 pts.
Tags:
Batch jobs
iSeries
Spool files
Batch jobs show under WRKUSRJOB while the job is active but then disappear once the job finishes, even though there are spool files for this job. Any ideas on how to change this so the job remains visable to the user so that they can easily find the spool files for the job?  Happens for both jobs that finish properly and those that finish in error.

Software/Hardware used:
iSeries

Answer Wiki

Thanks. We'll let you know when a new response is added.

It sounds like you are using WRKUSRJOB without changing any parameters. If you do a prompt on the command and specify STATUS of *OUTQ and JOBTYPE of *BATCH you should be able to view the out queue jobs you have authority to.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Do the spooled files disappear? Or can they still be located through other methods? What OS version/release are you running? What value do you have set for the QSPLFACN system value? Tom
    125,585 pointsBadges:
    report
  • Dkmj
    The spool files remain on the system and can be access using WRKSPLF. OS verson is V5R4M0 QSPLFACN is set to *Detach. I reviewed the text and it appears that it should perhaps be *keep - would changing this value require an IPL before it would actually take affect??
    25 pointsBadges:
    report
  • TomLiotta
    ...would changing this value require an IPL before it would actually take affect?? From the V5R4 help text -- "A change to this system value takes effect for all jobs that become active after the change." If you take WRKSYSVAL option 2=Change and press <F1> for help on the value, you can then press <F2=Extended help> to get help for more information about it. Not much more, but often enough. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    BTW, make sure that you understand the purpose of *DETACH first. If you're happy keeping all of the jobs around, in addition to the spooled files, then there's no serious problem with *KEEP. Tom
    125,585 pointsBadges:
    report
  • Dkmj
    The issue was the QSPLFACN value - it needs to be *keep to avoid the issue the user's were having....... Thanks for the responses.
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following