Run SAVSYS in restricted state

Backup and Recovery
Rose would like to know, "Is it possible to use IBM's Advanced Job Scheduler to run a SAVSYS in restricted state? If so, do you know of any existing sample code?" -- Michelle Davidson, editor,

Answer Wiki

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

The job scheduler would submit a job to a job queue that would run the job under a subsystem…

However, when the system is in a restricted state, all subsystems are ended.

Therefore… no.

If you want to do a full system backup and start it later the same day… From the console, you can do a GO SAVE option 21 and change the start time from *current to an actual later time. The console will sit there inhibited until the time entered and then start the full backup.

Discuss This Question: 3  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.
  • TheQuigs
    I believe there are APIs to accomplish this. Companies such as Help Systems use it in the ROBOT/Save product to perform restricted state operations. I believe other companies use them also, but I can't think of any off-hand. Check out the API Finder at the Information Cetner for V5R2: and for V5R3:
    0 pointsBadges:
  • JPLamontre
    If you have an AS400 available for testing boot, try a cl with these commands : tfrjob qctl endsys dlyjob 300 savsys pwrdwnsys it can run. The questions are 1) is it permitted to a batch to the the only running job under restricted state 2) how to know if your job is the one and only one job in qctl in case of system lock, push the panel white button to cut energy then restart THIS KIND OF TEST IS DANGEROUS - DISCUSS WITH YOUR BOSS BEFORE THINKING TO DO IT When your cl will be fine, then add it to the job scheduler. I am very interested by your conclusion, I never have the opportunity to do it.
    0 pointsBadges:
  • DonKennedy
    That is probably not going to work because of the following statement from the help for ENDSYS; Interactive jobs that are transferred to a job queue by the Transfer Job (TFRJOB) command are ended as part of subsystem ending. BTW, anyone know what the difference is between ENDSYS and ENDSBS *ALL *IMMED?
    0 pointsBadges:

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.

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


Share this item with your network: