System Control System Values


Many aspects of the system configuration and control are maintained through system values. These system values are very important and, in some cases, are not changeable.

Some Unchangeable System Values

A few system values can be displayed but cannot be changed:

  • QABNORMSW indicates how the system was ended last time.

  • QIPLSTS shows what kind of IPL was performed last time.

  • QMODEL contains the model number of your system.

  • QSRLNBR contains the serial number of the CPU of your system.

  • QCONSOLE contains the name of the system console.

  • QSTRPRTWTR indicates whether to start printer writers at IPL. The only way you can change this system value is by performing an attended IPL, because the system asks if you want to start printer writers at that time.

Device-Related System Values

The following system values are related to devices (displays and printers) in some way:

  • QAUTOCFG determines whether the system can configure new devices automatically. When you set this system value to ‘1,’ the system creates a device description for any new local display or printer device that is connected and powered on. Although you don't have to run the Create Device (CRTDEVXXX) command yourself, the disadvantage is that you relinquish control over the device name. (See system value QDEVNAMING.)

  • QCONSOLE cannot be changed. It contains the name of the display device you have connected to port 0, address 0 of the first workstation controller. This display is also known as the system console. If you want to rename the system console, you need to vary off the console, delete its device description, create a new one, and vary it back on. The next time you IPL the system, QCONSOLE reflects the change in name.

  • QDEVNAMING indicates what naming convention the system uses when configuring local devices automatically (per QAUTOCFG).

    • *NORMAL gives new local devices names like DSPXX and PRTXX, where xx is a sequential number from 01 to 99. This is the default setting.

    • *DEVADR gives new local devices names based on their address (workstation controller, port number, and switch setting). The device names are DSPCCPPSS (or PRT CCPPSS), where ‘cc’ is a two-digit number that represents the workstation controller, ‘pp’ is another two-digit number that represents the port number, and ‘ss’ is a third two-digit number representing the switch setting. For example, DSP010305 is the display station connected to the first workstation controller, port 3, switch setting 5.

    • *S36 gives new local device names following the System/36 naming convention of only two characters: ‘Wn’ for display stations and ‘Pn’ for printers, where n is usually a digit, although it doesn't have to be.

  • QDSCJOBITV controls how long (in minutes) a disconnected job can remain active until the system automatically ends it. If your users have a bad habit of disconnecting their jobs and forgetting about them, you can set QDSCJOBITV to 60, so that your users have a full hour to reconnect before they lose their interactive job. If this sounds harsh, remember that each job (even disconnected ones) has to be maintained by the system and therefore reduces the overall performance of the system.

    Tip 

    Operational Assistant provides an automatic power up/down schedule, which has rendered this system value useless for manual (direct) manipulation. See Chapter 2 for more information.

  • QPRTDEV contains the name of the system printer. You can change this system value anytime. This system value is referenced by the user profile, job, or job description's prtdev parameters when it has the value *SYSVAL.



IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 245

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net