• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Preventing Your System from Restarting After a Full System Backup

    May 16, 2012 Hey, Joe

    Good article on the secrets of the IBM i IPL parameters. Is there a way to stop the system from restarting after my full system backups complete (GO SAVE, option 21)? There are times that it would be great for the system to stay in restricted state after a backup, but the startup CL program always runs. How do I stop it from running?

    –Doug

    Here’s the drill for changing your System i and Power i partitions so that they don’t kick off their system startup programs after a GO SAVE, option 21, full system backup.

    First, realize that using the Change IPL Attributes (CHGIPLA) command to change the Start to Restricted State IPL (STRRSTD) parameter to *YES has no effect on preventing system startup after a full system backup. That parameter is only used after a system IPL. The system pays no attention to STRRSTD on a restart after an option 21 save.

    How The System Restarts After A Full System Backup

    When an option 21 backup completes, it restarts your controlling subsystem, as defined in the Controlling Subsystem (QCTLSBSD) system value. In most cases, QSYS/QCTL will be the name of your controlling subsystem.

    Inside the controlling subsystem, there is an Autostart Job Entry (AJE) called QSTRUPJD. The QSTUPRJD AJE starts a job based on a job description object (also named QSTRUPJD) that is configured to call a program named QWDAJPGM. To see what parameters your QSTRUPJD job description contains, run this Display Job Description (DSPJOBD) command.

    DSPJOBD JOBD(QSYS/QSTRUPJD)
    

    Called from QSTRUPJD, QWDAJPGM checks the program and library names contained in the Startup Program (QSTRUPPGM) system value. If QWDAJPGM finds a valid program name in QSTRUPPGM, the program runs the QSTRUPPGM program and the system starts.

    Given this process, the best way to stop your startup program from running is to change your system startup program name to *NONE, which will skip running a startup program altogether. Changing QSTRUPPGM to *NONE tells the system there is no startup program. The process of skipping your startup program after a full system backup consists of the following steps.

    1. Change your startup program name to *NONE
    2. Run your option 21 full system backup
    3. Change your QSTRUPPGM value back to your original startup program name
    4. End and restart your controlling subsystem

    Here are the steps you can execute to make it happen.

    Step #1: Change your startup program name to *NONE.

    Before changing QSTRUPPGM to *NONE, be sure to make a spooled file copy of your existing QSTRUPPGM value for later use. You can do this by executing the following Display System Value (DSPSYSVAL) command.

    DSPSYSVAL SYSVAL(QSTRUPPGM) OUTPUT(*PRINT)
    

    After printing the startup program name, run this Change System Value (CHGSYSVAL) command to change the name of the startup program to *NONE.

    CHGSYSVAL SYSVAL(QSTRUPPGM) VALUE(*NONE)
    

    Step #2: Run your option 21 full system backup.

    Run your full system backup by selecting option 21, entire system, off the Save (GO SAVE) menu. As your backup runs, it will put the system into restricted state, save the entire system, and then restart the system again by restarting your controlling subsystem. But because your Startup Program (QSTRUPPGM) system value is set to *NONE, the QWDAJPGM program will not run your system startup program.

    Step #3: Change your QSTRUPPGM value back to its original startup program name.

    At this point, you’ll have a quiet system that isn’t running anything except for your controlling subsystem. When you’re ready to restart your system, reset the QSTRUPPGM system value to your original system startup program name by executing this CHGSYSVAL command.

    CHGSYSVAL SYSVAL(QSTRUPPGM) VALUE(LIB/PROGRAM)
    

    Where LIB/PROGRAM equals the library and program name of your system startup program. Check the printout that you generated in Step #1, if you’re unsure of the original QSTRUPPGM name.

    Step #4: End and restart your controlling subsystem.

    After QSTRUPPGM is set back to its proper startup program name, put your subsystem back into restricted state by running the following End Subsystem (ENDSBS) command.

    ENDSBS SBS(*ALL) OPTION(*IMMED) 
    

    Wait until your system is in restricted state before proceeding.

    In restricted state, run this Start Subsystem (STRSBS) command to restart your controlling subsystem.

    STRSBS SBSD(LIB/NAME)
    

    LIB/NAME equals the library and name of your controlling subsystem. When the subsystem restarts, it will once again autostart the QSTRUPJD job as detailed above and the QWDAJPGM program will run the startup program listed in the QSTRUPPGM system value.

    HTH.

    –Joe

    Follow Joe On His Blog, On Twitter, And On LinkedIn

    Come check out Joe Hertvik’s blog at joehertvik.com, where he focuses on computer administration and news (especially IBM i); vendor, marketing, and tech writing news and materials; and whatever else he come across.

    You can also follow Joe on Twitter @JoeHertvik and on LinkedIn.

    Joe Hertvik is the owner of Hertvik Business Services, a service company that provides written marketing content and presentation services for the computer industry, including white papers, case studies, and other marketing material. Email Joe for a free quote for any upcoming projects. He also runs a data center for two companies outside Chicago. Joe is a contributing editor for IT Jungle and has written the Admin Alert column since 2002.

    RELATED STORY

    Admin Alert: Secrets Of The IBM i IPL Parameters



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Rocket Software

    Unlock the full potential of your data with Rocket Software. Our scalable solutions deliver AI-driven insights, seamless integration, and advanced compliance tools to transform your business. Discover how you can simplify data management, boost efficiency, and drive informed decisions.

    Learn more today.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    BCD:  Live Webinar May 23: Transform Green Screens into Rich Mobile Web Apps with Presto 4
    PowerTech:  FREE 2012 State of IBM i Security webinar. Wednesday, May 30. Register NOW!
    Tributary Systems:  Storage Director, a disk-to-disk-to-tape solution. Download the case study.

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    Symtrax Launches New Template Design Tool IBM i And AIX Shops Pay A Hefty Premium Over PowerLinux Buyers

    Leave a Reply Cancel reply

Volume 12, Number 14 -- May 16, 2012
THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
CNX

Table of Contents

  • Boolean Variables: Underused and Unappreciated
  • Generic Processing, Continued
  • Preventing Your System from Restarting After a Full System Backup

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle