• 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
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    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

    Generic Processing, Continued 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

  • Spring IBM i Tech Refreshes Will Come A Bit Later This Year
  • You Are Much More Than Power Systems, And So Are We
  • Startup Seeks The “Golden Path” for IBM i Modernization
  • What Can IBM Do To Make The Future Power S1112 Mini System Compelling?
  • IBM i PTF Guide, Volume 28, Number 15
  • Bob 1.0 Users Bugged By Lack Of One Feature
  • Here Come The AI-Based Code Modernization Offerings
  • Guru: Cohesion First – What A Procedure Should Be Responsible For
  • IBM Offers Trade-Ins On Storage To Grease The Upgrade Skids
  • IBM i PTF Guide, Volume 28, Number 14

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