When the job on hold is released again, is it picking up where it left off? This particular job saves a library.

45 pts.
Tags:
iSeries
Save Library
I put a save library job on hold.  Other processes need to run. When I release the save lib job to finish, is it starting over or continuing from the last file in that library?

thanks

Michael



Software/Hardware used:
iSeries
ASKED: July 1, 2010  3:18 PM
UPDATED: July 5, 2010  11:49 PM

Answer Wiki

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

When a job is put on hold, and later released, it will continue where it left off.
It does not start over.

===================================================

The above is correct. A job will only go to “HLD” status at a point where it can. Generally that means that the machine instruction(s) that are currently being executed will complete before the status actually changes.

That can mean that it may take a long time before it happens. If the MI instruction happens to be a long-running one, it can take time to reach the MI boundary. It would be that boundary where the job starts running from when released.

If a large access path is currently being processed, I’d expect that the entire access path would first finish saving. If there are dependencies, they might all need to be satisfied before status changes. But wherever it happens is where you can expect to re-start from.

Use CPYLIB or other means to create a library to save. Use SBMJOB to run a SAVLIB command. Put *PGMs, *MODULEs, PFs/LFs, multiple source files with lots of members in the library — the more, the better. If you save to savefile, you’re stuck with saving a single library. If you can test saving to a physical device, you might make multiple library copies.

You might have a basic CLP that loops around (or simply repeats) HLDJOB/RLSJOB a few times. Put DLYJOB between each so that you can ensure separated timestamps.

When finished, do DSPOBJD OUTPUT(*OUTFILE) for all libraries/objects in the job. Include the *LIB object(s) as well or simply view them. Note how the ‘Last save’ times compare with joblog messages and the HLDJOB/RLSJOB times.

Tom

Discuss This Question: 1  Reply

 
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
  • Rudedog
    charlie beat me to it. if you are concerned about the items in the library, as in a CrtDupObj to build the library, and there is the possibility that something was added to the original library being copied, then i would suggest that you cancel the job and start it over. -sarge
    950 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