Change the IPL startup program

Create a startup program that will change the system resources, and the resources and attributes assigned to them, that are started during an initial program load (IPL). Typically, subsystems, writers, and the Operational Assistant are launched by this program.

The autostart job in the controlling subsystem transfers control to the program that is specified in the startup program to set up system (QSTRUPPGM) system value. You can tailor this program.

You can create your own program and change the Startup program to set up system (QSTRUPPGM) system value to that program name. Or, you can use the shipped program QSTRUP in the QSYS library as a base to create your own program. To do this:

  1. Retrieve the source of the shipped program by using the Retrieve CL Source (RTVCLSRC) command (for example, RTVCLSRC PGM(QSYS/QSTRUP) SRCFILE(YOURLIB/YOURFILE)).
  2. Change the program.
  3. Create the program by using the Create Control Language Program (CRTCLPGM) command, and then put it into your own library.
  4. Test the program to ensure that it works.
  5. Change the Startup program to set up system (QSTRUPPGM) system value to the program name and library you specified on the CRTCLPGM command.
Related concepts
Start-up program to set up system (QSTRUPPGM)