As 400
As 400
As 400
System i
Note Before using this information and the product it supports, read the information in Notices, on page 75.
This edition applies to version 6, release 1, modification 0 of IBM i5/OS (product number 5761-SS1) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models. Copyright IBM Corporation 1998, 2008. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Basic system operations . . . . . . . 1
PDF file for Basic system operations . . . . . . 1 Overview of basic system operations . . . . . . 1 Using system interfaces . . . . . . . . . . 2 Working with devices . . . . . . . . . . 3 Working with printer output . . . . . . . . 4 Managing printer output . . . . . . . . 5 Starting printers . . . . . . . . . . . 5 Starting a printer from System i Navigator . . 5 Working with storage . . . . . . . . . . 5 Working with the control panel . . . . . . . 6 Control panel concepts . . . . . . . . . 6 Types of control panels . . . . . . . . 6 Control panel functions . . . . . . . . 8 Control panel buttons, lights, and indicators . . . . . . . . . . . . 12 Setting up your control panel . . . . . . 14 Accessing control panel functions . . . . . 15 Instructions and descriptions for control panel functions . . . . . . . . . . . . . 17 Normal control panel functions . . . . . 17 Extended control panel functions . . . . 24 Low-level debug panel functions 57 through 70. . . . . . . . . . . . 26 Using remote control panel APIs . . . . . 27 System power and test APIs . . . . . . 28 IPL-related APIs . . . . . . . . . . 29 Other system function APIs . . . . . . 34 APIs that check the system status . . . . 35 Starting and stopping the system . . . . . . . 39 Starting the system . . . . . . . . . . . 39 Starting the system without making configuration changes (unattended IPL) . . . 39 Changing the system during IPL (attended IPL) . . . . . . . . . . . . . . . 41 Attended IPL displays . . . . . . . . 42 Changing your system IPL from the control panel . . . . . . . . . . . . . . 44 IPL type . . . . . . . . . . . . 44 Operating mode of an IPL . . . . . . 45 Changing operating modes and IPL types 46 Changing system values during IPL . . . 47 Changing the IPL startup program . . . . 48 Source for CL startup program . . . . . 48 Startup program to set the (QSTRUPPGM) system value . . . . . . . . . . . 49 Scheduling a system shutdown and restart Displaying the power-on and power-off schedule . . . . . . . . . . Changing power-on and power-off schedule defaults . . . . . . . Changing the power-on and power-off schedule for a single event . . . . Solving problems with the automatic power schedule . . . . . . . . Causes of abnormal IPLs . . . . . . Signing on to the system . . . . . . . Signing on to the system using System i Navigator . . . . . . . . . . . Signing on to the system using the character-based interface . . . . . . Changing your password . . . . . . Changing the system password . . . Bypassing the system password . . Stopping the system . . . . . . . . Turning off the system immediately . . Using the Power button . . . . . . System values that control IPL . . . . . i5/OS concepts . . . . . . . . . . . Messages . . . . . . . . . . . . i5/OS commands . . . . . . . . . Security and user authority . . . . . . Authority to access objects . . . . . Security levels . . . . . . . . . User profiles . . . . . . . . . . Authorization lists . . . . . . . . Files and file systems . . . . . . . . i5/OS restricted state . . . . . . . . Jobs . . . . . . . . . . . . . . Subsystems, job queues, and memory pools Objects . . . . . . . . . . . . . Logs and journals . . . . . . . . . Software fixes . . . . . . . . . . Printing the system configuration list . . . . Analyzing and reporting system problems . . Related information for basic system operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 . 50 . 51 . 51 . 51 . 52 . 52 . 52 . . . . . . . . . . . . . . . . . . . . . . . . . . 53 53 54 54 55 56 57 57 60 61 61 63 64 64 65 65 66 67 68 69 70 71 71 72 73 73
Appendix. Notices . . . . . . . . . . 75
Programming interface information . Trademarks . . . . . . . . . Terms and conditions . . . . . . . . . . . . . . . . . . . 76 . 77 . 77
iii
iv
Character-based interface
The character-based interface, available from most emulator sessions or consoles, might seem unfamiliar to people without any experience in the i5/OS operating system. The character-based interface is available from most consoles and emulator sessions connected to a system, and provides more functions than any other interface. While this type of interface might be unfamiliar at first, it includes several methods for helping new users, and a menu-based hierarchy of tasks to make finding specific functions simple. The character-based interface includes three primary displays: navigational, input, and informational. The navigational display typically consists of a list of menu options and a command line. You can use this display to find information or tasks on the operating system, and to enter control language (CL) commands. Input displays are available when the operating system requires information from you. Use this display to enter or change information. Informational displays provide system information and do not allow any interaction.
Getting help
The character-based interface provides several methods for assisting users. First, online help is available for many displays by pressing the help or F1 key. You can often get help with a particular field or item by placing your cursor on it and then pressing the help or F1 key. When you are entering data, you can also get help by entering a ? in a data field. Finally, the amount and type of information displayed on the display can be controlled by changing the assistance level. The assistance level determines what version of a display you see. Many system displays have two different versions: v A basic assistance level version, which contains less information and does not use technical terminology. v An intermediate-assistance level version, which shows more information and uses technical terms. Some fields or functions are available only on a particular version of a display. The instructions tell you which version to use. To change from one assistance level to another, use F21 (Select assistance level). F21 is not available from all displays. Related concepts i5/OS commands on page 61 The operating system uses control language (CL) commands to interpret instructions from users. You need to know the basic rules for using CL, and how to get detailed help for any CL command.
Every device in the system has a current status that describes whether it is turned on, and whether it is currently communicating with the system. Before a device can function, both this device and all devices connecting it to the system must be varied on (operational) and functioning. For example, if a communication line or network adapter is varied off, any device attached to the system through those devices cannot function. Most devices have the following possible types of status.
Table 1. Possible types of status for most devices Status Varied off Varied on (Operational) Pending Active Description The operating system has disabled the device, and it must be varied on again before communicating with the system. The operating system has enabled communications with the device, and is waiting for communications. The operating system is attempting to enable communications with the device. The device is currently busy communicating with the system, and cannot be varied off.
Other types of status are possible for some specific device types, or to indicate a specific problem. For example, a workstation that is waiting for a user to sign on will have a status of Signon display, and a device that the operating system is unable to locate will have a status of Resource not detected.
Starting printers
From the command-line interface, you can start a printer. Before you start the printer, verify the following conditions: v The printer is turned on and ready. v The printer or print method has been configured in the operating system. To start a printer from the command-line interface, follow these steps: 1. Vary on the printer. a. Enter WRKCFGSTS *DEV *PRT command. The Work with Configuration Status display shows a list of devices. b. Enter a 1 next to the printer device description to vary on the printer. 2. Use the Start Print Writer (STRPRTWTR) command to start the print writer, and specify the printer and output queue (or queues) that the writer will service.
Related concepts Control panel buttons, lights, and indicators on page 12 These figures illustrate the interface for each of the control panels, including the buttons, lights, and indicators. The interface for the virtual control panel and remote control panel are identical. Related tasks Restarting and powering down a system with logical partitions Accessing control panel functions on page 15 To access the control panel functions, follow these instructions, which apply to all three kinds of control panels. Remote control panel: The remote control panel provides a way to use control panel functions through a PC. The graphical user interface of the remote control panel looks similar to the physical control panel. The remote control panel has the following characteristics: v The remote control panel is installed through Operations Console. v A directly attached remote control panel is not supported, but you can use the remote control panel with a LAN-connected console. The use of virtual control panel is supported. v You can use the interface of the remote control panel to restart and turn off the system. However, a LAN-connected remote control panel or the virtual control panel cannot turn on the system unless it is connected to the primary partition of an 8xx or earlier model and the primary partition is still active. You can use the remote control panel to perform most of the same functions as the physical control panel. v You can use remote control panel APIs to automate control of the remote control panel through a user-created program. v If your system uses a keystick, the Mode button works with the same functions as the physical control panel, depending on whether the keystick is inserted. Related concepts Setting up your control panel on page 14 Both the remote control panel and the virtual control panel are set up through an Operations Console configuration. You need to install Operations Console and configure a remote control panel or a virtual control panel to use control panel functions. Control panel buttons, lights, and indicators on page 12 These figures illustrate the interface for each of the control panels, including the buttons, lights, and indicators. The interface for the virtual control panel and remote control panel are identical. Related tasks Accessing control panel functions on page 15 To access the control panel functions, follow these instructions, which apply to all three kinds of control panels. Virtual control panel: With the virtual control panel, you can use control panel functions through a PC. The graphical user interface for the virtual control panel is identical to the user interface of the remote control panel. Also, the virtual control panel can perform most of the same functions as the remote control panel. If your system uses a keystick, the Mode button works with the same functions as the physical control panel, depending on whether the keystick is inserted.
Unlike the remote control panel, the virtual control panel cannot turn on the system. As an alternative, if you need to turn on the system at a later time, you can use the IPL scheduling function in Operational Assistant by pressing the Attention key. You can also use the GO POWER command and select option 2 (Change turn on and off schedule). Considerations for the virtual control panel If you use the virtual control panel, be aware of the following considerations: v The virtual control panel must have a direct connection to the system from Operations Console using the serial console cable. v The virtual control panel is only available while the Operations Console is connected. v You cannot use the virtual control panel remotely through a dial-up connection. v You must meet several prerequisites when installing the virtual control panel, such as a program temporary fix (PTF) for the server and service packs for the client. v If the PC has a parallel cable connection for a remote control panel, you must remove it before you can install and use your virtual control panel. v A unique service tools device profile must exist for each virtual control panel connection. v You cannot use an existing network name. v More than one virtual control panel and remote control panel can be active at the same time. v To use the mode function provided by the virtual control panel, the service tools user ID that is used to authenticate the connection must have the key privilege of partition remote panel. To verify that your service tools user ID has this privilege, see Changing the functional privileges for a service tools user ID using SST. How to choose between the virtual control panel and remote control panel The following table shows which server models are recommended for the virtual control panel and which models are recommended for the remote control panel.
Virtual control panel 270 800 810 820 825 830 840 870 890 Remote control panel 170 250 6xx 7xx Sxx
Related concepts Control panel buttons, lights, and indicators on page 12 These figures illustrate the interface for each of the control panels, including the buttons, lights, and indicators. The interface for the virtual control panel and remote control panel are identical. Related tasks Accessing control panel functions on page 15 To access the control panel functions, follow these instructions, which apply to all three kinds of control panels. Related information Operations Console Web site Control panel functions:
There are few functional differences among these control panels. The main difference is that the physical control panel and the remote control panel, when cabled directly to the system, can turn on the system. The virtual control panel and the remote control panel, if connected through a LAN, cannot turn on the system. Notes: 1. Some control panel functions might not be available on all system types. 2. The x can be any number 0 through 9, any letter A through F, or a blank. 3. If you have selected a function, find the selected function in the table and verify that you have completed the correct function. 4. If you cannot change the Function/Data display or complete the selected function, contact your service provider. The following table lists the codes and descriptions for each of the control panel functions and whether each type of the control panel supports these functions.
Table 2. Control panel (32-character) function codes Function code 01 Remote control panel code Virtual control panel function? 01 Yes Function description 1. Display the currently selected initial program load (IPL) type (and logical key mode on some system types). 2. Display the currently selected IPL speed override for the next IPL. 02 03 02 03 Yes Yes Select the IPL type, logical key mode, and IPL speed. Start an IPL to load the system. The IPL uses the selected IPL options. Lamp test all displays and indicators are switched on. System power control network (SPCN) system reference code (SRC). Display an SRC on the control panel. Allow you to perform SPCN service functions. Fast turn off. To perform a fast turn off, see Stopping the system. Reserved. System reference code (SRC) displays an SRC on the control panel.
04 05
04 05
Yes No
07 08
Not applicable 08
09 through 10 11 through 19
Table 2. Control panel (32-character) function codes (continued) Function code 20 Remote control panel code Virtual control panel function? 20 Yes Function description Display the machine type, model, processor feature code, processor class indicator, and IPL path description. Cause the Use Dedicated Service Tool (DST) display to appear on the system console. To exit DST, select the Resume operating system display option. Force system main storage dump. Reserved. Reserved. Use Service switches 1 and 2 to enable or disable functions 50 through 70. Use Service switches 1 and 2 to enable or disable functions 50 through 70. Reserved. Reorder SPCN addressing. Retry main storage dump (MSD) IPL. Reserved. System processing unit stop. System processing unit status displays the following values: B0 register contents, Next Instruction Address (NIA), and current Task Dispatching Element (TDE) contents. System processing unit start. Unconfigure an intermittently failing processor (Repeat GARD function). Reserved. Display area addresses for system data. Set the first character of the base address for the function 62 display.
21
21
Yes
22 23 24 25
26
26
Yes
27 through 32 33 34 35 through 49 50 51
Not applicable Yes Yes Not applicable Not applicable Not applicable
52 53
Not applicable 53
Not applicable No
54 through 56 57 58
10
Table 2. Control panel (32-character) function codes (continued) Function code 59 Remote control panel code Virtual control panel function? Not applicable Not applicable Function description Set the second character of the base address for the function 62 display. Set the third character of base address for function 62 display. Set the fourth character of base address for function 62 display. Display service processor storage. System status SRC trace. Service processor diagnostic status SRC trace. Deactivate remote service. Activate remote service. Disk unit IOP reset/reload is enabled only by specific disk unit SRCs. Concurrent maintenance power domain Power Off. Concurrent maintenance power domain Power On. Dump service processor control storage. OFF ON Delayed turn off. Immediate power on.
60
Not applicable
Not applicable
61
Not applicable
Not applicable
62 63 64 65 66 67
68 69 70 Power button
68 69 70 Power button in graphical interface for powering on and off the system. (LAN-connected remote control panels cannot turn on the system.) See note. Graphical attention light Power indicator in graphical interface
Yes Yes No Power button in graphical interface for powering off the system only.
IPL keylock - Manual, Auto, Normal, Secure. Attention state LED. Lit when power is fully operational.
Note: The remote control panel and virtual control panel recognize the presence of a keystick. If your system uses a keystick, the Mode button works with the same functions as the physical control panel, depending on whether the keystick is inserted. LAN-connected remote control panels need special authority to use the Mode button.
If you cannot find the function code in the previous table, the support for added features or devices might not have been available when this information was produced. Look for any supplemental unit function code information for the function code you displayed on the control panel.
11
Related concepts Instructions and descriptions for control panel functions on page 17 Control panel functions can be classified into three categories: normal functions, extended functions, and low-level debug functions. The remote control panel and virtual control panel can perform most of these functions. The physical control panel can perform all of them. Control panel buttons, lights, and indicators: These figures illustrate the interface for each of the control panels, including the buttons, lights, and indicators. The interface for the virtual control panel and remote control panel are identical. The figures show the following kinds of control panels: v The remote control panel or virtual control panel. v A physical control panel without a keystick. v A physical control panel with a keystick. Remote control panel and virtual control panel
Function/Data display Increment and Decrement buttons Turn on indicator Power button System Attention light Enter button Mode button
12
(A)
Power On Light v A blinking light indicates power to the unit. v A constant light indicates that the unit is up and is working.
Power button Processor Activity System Attention Function/Data Display Increment and Decrement buttons Enter button
Physical control panel with a keystick A keystick gives the operator security control over the control panel functions and control over data that is accessible from the control panel. The keystick for the electronic keylock activates the Mode button.
(A)
Power On Light v A blinking light indicates power to the unit. v A constant light indicates that the unit is up and is working.
(B)
Power button
Basic system operations
13
(C) (D) (E) (F) (G) (H) (J) (K) (L) (M) (N)
Processor Activity System Attention Function/Data Display Increment and Decrement buttons Enter button Mode button Electronic Keystick Slot Secure Auto Normal Manual
Related concepts Physical control panel on page 6 The physical control panel is your initial interface with the system. You can use the physical control panel to perform functions, such as performing an initial program load (IPL) and turning on and turning off the system. Control panel functions range in complexity from functions that display status (such as IPL speed) to low-level service functions that only service representatives can access. Remote control panel on page 7 The remote control panel provides a way to use control panel functions through a PC. The graphical user interface of the remote control panel looks similar to the physical control panel. Virtual control panel on page 7 With the virtual control panel, you can use control panel functions through a PC. Related tasks Accessing control panel functions on page 15 To access the control panel functions, follow these instructions, which apply to all three kinds of control panels.
14
control panel functions in the installation instructions. Related concepts Remote control panel on page 7 The remote control panel provides a way to use control panel functions through a PC. The graphical user interface of the remote control panel looks similar to the physical control panel. Operations Console Related information Operations Console Web site Operations Console connection troubleshooting
15
16
Related concepts Physical control panel on page 6 The physical control panel is your initial interface with the system. You can use the physical control panel to perform functions, such as performing an initial program load (IPL) and turning on and turning off the system. Control panel functions range in complexity from functions that display status (such as IPL speed) to low-level service functions that only service representatives can access. Remote control panel on page 7 The remote control panel provides a way to use control panel functions through a PC. The graphical user interface of the remote control panel looks similar to the physical control panel. Virtual control panel on page 7 With the virtual control panel, you can use control panel functions through a PC. Control panel buttons, lights, and indicators on page 12 These figures illustrate the interface for each of the control panels, including the buttons, lights, and indicators. The interface for the virtual control panel and remote control panel are identical.
17
No
The system displays the IPL key mode (For Manual or Normal modes only). The Auto mode and Secure mode are not supported. Follow the procedures for functions 01 and 02 for systems without a keystick.
2. Insert the keystick. Press the Mode button to select the IPL mode. Follow function 01 and 02 procedures for systems with a keystick. Note: The function that is displayed is not activated until you press Enter on the control panel. To select a function number, press the Increment or Decrement button on the control panel. To activate the function, press Enter on the control panel while the system displays the required function number. Function 01 - Display Selected IPL Type and IPL Speed (on Systems with a Keystick) You can use this function to display the selected type and speed for the next IPL. 1. Display IPL types (A, B, C, or D). 2. Display IPL speed (F, S, SE, V=F, or V=S). When selected, function 01 displays the currently selected IPL type and IPL speed values (where each _ represents 1 character). The following table shows a function 01 example with a keystick.
Table 3. Function 01 on systems with a keystick Function/data 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 1 _ _ A _ _ _ _ _ V = F _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Use the Increment or Decrement button to scroll to function 01. Valid IPL types are A, B, C, or D. Valid IPL speed displays are F, S, SE, V=F, or V=S. Use the Increment or Decrement button to scroll through the control panel functions.
Function 01 - Display Selected IPL Type, Logical Key Mode, and IPL Speed (on Systems without a Keystick) You can use this function to display the selected IPL type, logical key mode, and speed for the next IPL. 1. Display IPL types (A, B, C, or D). 2. Display the valid logical key modes (M or N). 3. Display IPL speed (F, S, SE, V=F, or V=S). The following table shows a function 01 example on systems without a keystick.
Table 4. Function 01 on systems without a keystick Function/data 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Use the Increment or Decrement button to scroll to function 01.
18
Table 4. Function 01 on systems without a keystick (continued) Function/data 0 1 _ _ A _ _ M _ _ V = F _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Valid IPL types are A, B, C, and D. Valid logical key modes are Manual and Normal. Valid IPL speed displays are F, S, SE, V=F, or V=S. 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Use the Increment or Decrement button to scroll through the control panel functions.
Function 02 with a keystick - Select IPL Type and IPL Speed Override (on Systems with a Keystick) Before you can use function 02, you must have the system in Manual mode. You can change the IPL type with the system turned on or off. However, to select the IPL speed override, you must turn off the system. The following table shows the sequence used to select the IPL type on systems that are turned on.
Table 5. Function 02 - Select IPL type on turned-on systems with a keystick Function/data 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ A < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ B < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Use the Increment or Decrement button to scroll to function 02. Press Enter to start function 02. The current IPL type is displayed with a pointer. Use the Increment or Decrement button to scroll through the IPL types. Press Enter to select the IPL type and exit function 02. Use the Increment or Decrement button to scroll through the control panel functions.
The following table shows the sequence used to select the IPL type and IPL speed on systems that are turned off.
Table 6. Function 02 - Select IPL type and IPL speed on turned-off systems with a keystick Function/Data 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ A < _ _ _ _ _ _ V _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or Description Use Increment or Decrement button to scroll to function 02. Press Enter to start function 02: v The current IPL type is displayed with a pointer. v The current IPL speed is displayed. 0 2 _ _ B < _ _ _ _ _ _ V _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ B _ _ _ _ _ _ _ V _ < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Use the Increment or Decrement button to scroll through the IPL types and speeds. Press Enter to select the IPL type. v The current IPL type is displayed. v The current IPL speed is displayed with a pointer. 0 2 _ _ B _ _ _ _ _ _ _ S _ < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Use the Increment or Decrement button to scroll through the IPL speeds. Press Enter to select the IPL speed and exit function 02.
19
Table 6. Function 02 - Select IPL type and IPL speed on turned-off systems with a keystick (continued) Function/Data 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or Description Use the Increment or Decrement button to scroll through the control panel functions.
Function 02 without a keystick - Select IPL type, IPL speed override, and Logical key mode (on Systems without a Keystick) You can use function 02 in either normal mode or manual mode. With the system either turned on or off, this function allows you to select the IPL type and logical key mode. Before you can select the IPL speed override, you must turn off the system. Turned-on systems For turned-on systems without a keystick, function 02 is used to select the IPL mode and logical key mode. The following table shows an example of the function 02 IPL type and logical key mode selection sequence for a turned-on system that does not have a keystick.
Table 7. Function 02 - Select IPL type and logical key mode on turned-on systems without a keystick Function/data 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ A < _ M _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Use the Increment or Decrement button to scroll to function 02. Press Enter to start function 02. v The current IPL type is displayed with a pointer. v The current logical key mode is displayed. 0 2 _ _ B < _ M _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ B _ _ M < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ B _ _ N < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Use the Increment or Decrement button to scroll through the IPL types. Press Enter to select the IPL type. Use the Increment or Decrement button to scroll through the logical key modes. Press Enter to select the logical key mode and exit function 02. Use the Increment or Decrement button to scroll through the control panel functions.
Turned-off systems For turned-off systems without a keystick, function 02 is used to select the IPL type, logical key mode, and IPL speed indicators. The following table shows an example of the function 02 IPL type, logical key mode, and IPL speed selection sequence for a turned-off system that does not have a keystick.
Table 8. Function 02 - Select IPL type, logical key mode, and IPL speed on turned-off systems without a keystick Function/data 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ A < _ M _ _ _ _ V _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Use the Increment or Decrement button to scroll to function 02. Press Enter to start function 02. v The current IPL type is displayed with a pointer. v The current logical key mode is displayed. v The current IPL speed is displayed.
20
Table 8. Function 02 - Select IPL type, logical key mode, and IPL speed on turned-off systems without a keystick (continued) Function/data 0 2 _ _ B < _ M _ _ _ _ V _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ B _ _ M < _ _ _ V _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Action or description Use the Increment or Decrement button to scroll through the IPL types. Press Enter to select the IPL type. v The current IPL type is displayed. v The current logical key mode is displayed with a pointer. v The current IPL speed is displayed. 0 2 _ _ B _ _ N < _ _ _ V _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ B _ _ N _ _ _ _ V _ < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Use the Increment or Decrement button to scroll through the logical key modes. Press Enter to select the logical key mode. v The current IPL type is displayed. v The current logical key mode is displayed. v The current IPL speed is displayed with a pointer. 0 2 _ _ B _ _ N _ _ _ _ S _ < _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 0 1 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Use the Increment or Decrement button to scroll through the IPL speeds. Press Enter to select the IPL speed and exit function 02. Use the Increment or Decrement button to scroll through the control panel functions.
Function 03 - Start IPL The system enables function 03 only when the key mode is Manual and the system is turned on. This function starts an IPL of the selected IPL type when you press the Enter button. The system will load all the Licensed Internal Code. Attention: No system shutdown is performed before IPL. The use of this function can cause data loss.
Function 04 - Lamp Test This function shows whether any control panel indicators are burned out and whether characters that are displayed on the control panel Function/Data display are valid. When you activate this test, all the control panel lights and indicators flash on and off. The lamp test continues on the system control panel until you perform another control panel function or a power procedure. The lamp test for the expansion unit control panel is active for 25 seconds and does not flash. Use this procedure to verify that the lights on the system control panel are working correctly. If you cannot complete these steps, contact your service provider. 1. Turn on the system. 2. Press the Increment or Decrement buttons on the control panel to display function 04. Press Enter on the control panel. 3. Do all of the lights and indicators on the system control panel flash on and off?
Yes Proceed to the next step.
21
No
Need to exchange the control panel or the replaceable unit that contains the control panel function (system unit backplane (MB1) or tower card (CB1)). Contact your service provider.
4. Do all the control panel lights on the expansion unit come on?
Yes No End. Exchange the control panel on the expansion unit.
The lights on the system control panel are working correctly. Function 05 - SPCN SRC Function 05 displays information about power faults and provides informational reference codes during disk-unit concurrent maintenance procedures. The format for this function is as follows:
In this format, RR represents the frame number where the failing unit is installed; U represents the SPCN port to which the failing unit is connected; and rrr represents unit reference code (URC). Function 07 Function 07 is only used during service by authorized IBM service representatives. Function 08 - Fast Turn Off Function 08 is enabled only when the key mode is Manual and the system is turned on. Use this function when the system is suspended and you cannot turn off the system. The first time that you select function 08 and press Enter, the system displays an attention SRC, 11 A1xx 8008. This SRC indicates that you selected Function 08. The second time that you select function 08 and press Enter, you confirm the request to turn off the system. To perform a fast turn off, see Stopping the system.
22
Attention: v No system shutdown is performed before the initial program load (IPL). The use of this function can cause loss of data. v If the system password was changed at the most recent IPL, performing a fast turn off might cause that new password information to be lost. Functions 09 to 10 - Reserved These functions are reserved for future control panel operations. Functions 11 to 19 - System Reference Code (SRC) Functions 11 though 19, if enabled, represent the words of the SRC. You must record SRC information for error reporting and contact your service provider. Function 20 - System type, model, feature code, hardware level, and IPL path description This function displays the machine type, model, processor feature code, hardware level, and IPL path description in the following format:
t m m m c c c c _ _ _ _ _ _ _ _ h h h h _ _ _ _ i i i i i i i i
Values for iiiiiiii indicate the description of the system turn on or restart path:
iiiiiiii The restart path description (for example, 00 000 001 indicates that the system was turned on by using the white button on the control panel).
23
Function 21 - Make DST Available This function makes DST available on the system console display. The Use Dedicated Service Tools (DST) display appears on the primary or alternative console. To exit DST and return to the operating system, select the Resume operating system display option on the Use Dedicated Service Tools (DST) display. Function 22 - Dump Main Storage This function dumps main storage and processor data to the disk. Note: Before to pressing function 22, determine whether function 34 is available (00 shows in the panel after you select function 34). If it is available, then the system is attempting to run a main storage dump IPL. Using function 34 attempts to try the IPL again, such that the original dump is not lost. If function 34 is not enabled, (>FF shows in the panel after you select function 34), go back and start function 22. The first time that you select function 22 and press Enter, the system displays attention SRC 11 A1xx 3022. This indicates that you selected function 22. To dump main storage and system processor data to the disk, you must select function 22 again and press Enter. Use this function only when a main storage dump is necessary, for example, after a suspended (system hang) condition or after an operating system failure. Attention: No system shutdown is performed before the main storage dump. The use of this function can cause data loss. Functions 25 and 26 - Service Switches 1 and 2 In function 25, the service representative switch 1 is set. Function 25 is the first step necessary to set the service function range (50 to 99). In function 26, the service representative switch 2 is set. Function 26 is the second step necessary to set the service function range (50 to 99). Function 33 - Reorder SPCN Addressing This function puts the rack addresses in the correct order to show their position in the system power control network (SPCN). Use it when you have added racks to or removed them from the system. Function 34 - Retry MSD IPL Function 34 is enabled only for main storage dump (MSD) IPLs. You can use it when the system is hung during the MSD IPL to try the IPL again without losing the original dump information. Related tasks Stopping the system on page 55 Turning off your system needs careful attention. If you turn off the system without following this topic, data might be damaged, or the system might behave in unpredictable ways. Extended control panel functions: The system enables service functions 50 through 70 when you select manual mode and enter function 25 (service switch 1), then function 26 (service switch 2). You use subfunctions with Functions 51 and 57 through 64.
24
Notes: 1. When a function has no data to display, FF is shown. 2. Some upper functions, 50 through 70, are not supported using the remote control panel and virtual control panel, depending on connectivity. 3. Nonsupported functions for the remote control panel and virtual control panel display FF. To enable functions 50 through 70, follow these steps: 1. Select function 25 and press Enter. The display reads 25 00. 2. Use the Increment button to select function 26 and press Enter. The display briefly reads 26 00. Then it typically displays 01 B when the upper functions have activated. Functions 50 through 70 are now available. You can disable the service functions by selecting and entering either function 25 (service switch 1) or function 26 (service switch 2). To disable functions 50 through 70, select function 25 and press Enter. Functions 50 through 70 are then no longer available. Using Subfunctions To work with subfunctions, follow these steps: 1. Use the Increment or Decrement button to select the appropriate function and press Enter. The function number is displayed with asterisks (**); for example, 57**. The two asterisks indicate that subfunctions are available. 2. Press the Increment button. The first subfunction number is displayed; for example, 5700. 3. As the subfunction number is displayed, press Enter. The system displays data associated with the subfunction number. 4. Press the Increment button. The next subfunction number is displayed; for example, 5701. 5. As the subfunction number is displayed, press Enter. The system displays the data associated with the new subfunction number. 6. Repeat these steps to gather all the data that is associated with the subfunction. 7. Use the Increment or Decrement button to return to the function display with asterisks; for example 57**. 8. Press Enter to exit the subfunctions. Function 50 - System Processor Stop This function stops the system processor. Attention: This function might cause the system to end abnormally. Use the function only when directed to do so by your next level of support. Function 51 - System Processor Status This function displays the following values: v Next instruction address (NIA). v Current task dispatching element (TDE) address. The data can be displayed 8 digits at a time. Select and enter a subfunction number to display each word of data from 00 to 0F.
25
The following table is an example of a subfunction data display that shows NIA and TDE information.
Table 9. Subfunction data display example Function 51 51 51 Subfunction ** 00, 01 02, 03 Data Display Subfunction mode entered NIA (8 bytes) Current TDE (8 bytes)
Function 52 - System Processor Start This function starts the system processor (after it has stopped). Function 53 - Repeat GARD This function displays the following values: v Clear memory, processor, L3 Repeat GARD. v Enable memory, processor, L3 Repeat GARD. v Disable memory, processor, L3 Repeat GARD. v View enable/disable status. This function permanently unconfigures an intermittently failing processor, during the IPL following the failure. This is performed in case the IPL diagnostics cannot detect the failure and automatically unconfigure it. The failing processor must be replaced or the Repeat GARD function must be cleared before that processor can be used again. Attention: This function can cause an operating processor to be permanently unconfigured following a power failure. Use the function only when directed to do so by your next level of support. The following table is an example of a subfunction data display that shows Repeat GARD information.
Table 10. Subfunction data display example Function 53 53 53 53 53 Subfunction ** 00 01 02 03 Data Display Subfunction mode entered Clear memory, processor, L3 Repeat GARD Enable memory, processor, L3 Repeat GARD Disable memory, processor, L3 Repeat GARD View enable/disable status (E=Enabled, D=Disabled)
Low-level debug panel functions 57 through 70: You can enable these functions by selecting Manual mode and selecting functions 25 and 26. Here is a list of all the low-level debug panel functions and a description of each: Function 57 - Display Service Processor Diagnostic Data Area Addresses These addresses can be used to display debug data in function 62. Function 58 - Setting First Character of the Base Address for the Function 62 Display
26
Function 59 - Setting Second Character of the Base Address for the Function 62 Display Function 60 - Setting Third Character of Base Address for the Function 62 Display Function 61 - Setting Fourth Character of Base Address for the Function 62 Display Function 62 - Display Service Processor Storage This function displays service processor storage starting at the address that has been set with functions 58 through 61. Function 63 - System Status SRC Trace The system status SRC trace is a copy of the last 25 status SRCs (those that are typically associated with the IPL sequence or the turn-off sequence). Enter a subfunction between hexadecimal 00 and 18 to look at the status SRCs in sequential order. The most recent SRC (the last status SRC) is displayed at subfunction hexadecimal 18. Function 64 - Diagnostic Status SRC Trace The diagnostic status SRC trace is a copy of the last 25 status SRCs (those that are typically associated with the service processor function of problem analysis and main storage dump). Enter a subfunction between hexadecimal 00 and 18 to look at the status SRCs in sequence. You can see the most recent SRC (the last status SRC) at subfunction hexadecimal 18 and the extended SRC words for this SRC at subfunctions 19 through 1A. Function 65 - Deactivate Remote Service Use this function to deactivate a remote service session or Operations Console. This function releases the communications port that was in use for a remote service session or Operations Console. Function 66 - Activate Remote Service Use this function to activate a remote service session or Operations Console. This function activates the communications port that is used by a remote service session or Operations Console. Function 67 - Disk Unit IOP Reset/Reload Function 67 is not available for all system types. Use this function to initiate an IOP dump and a disk unit IOP reset/reload. The function is enabled only when specific SRCs are displayed on the control panel and the associated IOP supports a reset/reload function. Function 68 - Turn off Disk Unit IOP/IOA Power Domain Function 68 is enabled only by specific disk-unit system reference codes (SRCs) such as disk-unit attention SRCs. Function 69 - Turn on Disk Unit IOP/IOA Power Domain Function 69 is enabled when the power domain is turned off. Function 70 - Dump Service Processor Control Storage This function saves the contents of the service processor control storage into nonvolatile storage for potential use from an error log.
27
The interface to the remote control panel APIs is established through a standard TCP/IP socket connection. The socket connection can be implemented in any programming language that supports sockets on the Windows platform (Java , C/C++, Visual Basic to name a few). To use the remote control panel APIs, follow these steps: 1. Start Operations Console with the remote control panel function. 2. From a custom program, open a socket connection to port 2150 on the same PC. 3. Send a supported command from the set of commands that are described below (using uppercase and lowercase letters as shown for each API name). 4. Receive the byte stream that is sent back on the same socket connection. 5. Repeat steps 3 and 4 as necessary on the same socket connection. 6. Close the socket connection when done. Your program needs to interpret the byte stream that is sent back from the system. The returned byte stream consists of a predefined format, which is the same for all commands. The byte stream is at least 4 bytes long. Some commands return additional bytes. The first 2 bytes (0 and 1) will return the command status, typically successful or unsuccessful. The next 2 bytes (2 and 3) will be a 16-bit number N, which tells how many additional bytes will follow these first 4 bytes. If N is nonzero, then there will be additional information in bytes 4 through 4 + N. This information will be additional data related to the command, such as TRUE or FALSE. Note: If the command sent is not one of the command strings defined below, then the return code in bytes 0 and 1 of the return value will be 32 (0x20). This means Command not Supported. Your programs can perform the following control panel functions by using the following APIs. System power and test APIs: You can use these APIs to turn on and off the system and to perform and clear panel lamp tests. Turning on the system: To turn on the system, you can use the PowerOn API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Performing panel lamp test: To perform the panel lamp test, you can use the DoLampTest API. There are no restrictions to the use of this command. This API returns the following information.
28
Clearing panel lamp test: To clear the panel lamp test results, you can use the ClearLampTest API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+ N Not applicable
Powering off the system: To turn off the system, you can use the PowerOff API. To use this command, you must insert the keystick in the electronic keystick slot (on systems with a keystick). This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+ N Not applicable
IPL-related APIs: You can use these APIs to set initial program load (IPL) modes, types, and speed, and to start an IPL. Setting IPL mode to Manual: To set the system initial program load (IPL) mode to Manual, you can use the SetIPLModeManual API. You must insert a key to use this command (on systems with a keystick). This API returns the following information.
29
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted
Setting IPL mode to Normal: To set the system initial program load (IPL) mode to Normal, you can use the SetIPLModeNormal API. You must insert a key to use this command (on systems with a keystick). This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Setting IPL mode to Auto: To set the system initial program load (IPL) mode to Auto, you can use the SetIPLModeAuto API. You must insert a key to use this command (on systems with a keystick). This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Setting IPL mode to Secure: To set the system initial program load (IPL) mode to Secure, you can use the SetIPLModeSecure API. You must insert a key to use this command (on systems with a keystick). This API returns the following information:
30
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted
Setting IPL type to A: To set the system initial program load (IPL) type to A, you can use the SetIPLTypeA API. You must insert a key to use this command (on systems with a keystick). The system must be in Manual mode. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Setting IPL type to B: To set the system initial program load (IPL) type to B, you can use the SetIPLTypeB API. You must insert a key to use this command (on systems with a keystick). The system must be in Manual mode. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Setting IPL type to C: To set the system initial program load (IPL) type to C, you can use the SetIPLTypeC API. You must insert a key to use this command (on systems with a keystick). The system must be in Manual mode.
31
Setting IPL type to D: To set the system initial program load (IPL) type to D, you can use the SetIPLTypeD API. You must insert a key to use this command (on systems with a keystick). The system must be in Manual mode. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Starting an IPL: To start a system initial program load (IPL), you can use the StartIPL API. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick). v The system must be in Manual mode. v You must turn on the system. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode 16 = System turned Off Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
32
Setting IPL speed to Fast: To set the system initial program load (IPL) speed to Fast, you can use the SetIPLSpeedFast API. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick). v The system must be in Manual mode. v You must turn off the system. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode 8 = System turned On Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Setting IPL speed to Slow: To set the system initial program load (IPL) speed to Slow, you can use the SetIPLSpeedSlow API. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick). v The system must be in Manual mode. v You must turn off the system. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode 8 = System turned On Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Setting IPL speed to system default: To set the system initial program load (IPL) speed to the default value, you can use the SetIPLSpeedDefault API. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick).
Basic system operations
33
v The system must be in Manual mode. v You must turn off the system. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode 8 = System turned On Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Other system function APIs: You can use these APIs to start dedicated service tools (DST), to start a main storage dump (MSD), and to disable continuously powered main storage. Starting dedicated service tools on the primary or alternate console: You can use the StartDST API to start the dedicated service tools (DST) on the primary or alternative console. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick). v The system must be in Manual mode. v You must turn on the system. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode 16 = System turned Off Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
Starting a main storage dump: To start a main storage dump (MSD), you can use the StartMSD API. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick). v The system must be in Manual mode. v You must turn on the system.
34
Disabling continuously powered main storage: To disable the continuously powered main storage (CPM) on the system, you can use the DisableCPM API. To use this command, follow these instructions: v You must insert a key to use this command (on systems with a keystick). v The system must be in Manual mode. v You must turn off the system. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful 2 = Key not inserted 4 = Not in Manual mode 8 = System turned On Bytes 2 and 3 16-bit additional data length N = 0 Bytes 4 through 4+N Not applicable
APIs that check the system status: You can use these APIs to check the system status. Is CPM present?: You can use the GetCPMPresent API to determine whether the continuously powered main storage (CPM) is present on the system. There are no restrictions to the use of this command. This API returns the following information.
35
Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.)
Is CPM enabled?: You can use the GetCPMEnabled API to determine whether the system has continuously powered main storage (CPM) enabled. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N True or False
Is the key inserted?: To determine whether the system has a keystick inserted, you can use the GetKeyInserted API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N True or False
Is the system turned on?: To determine whether you have the system powered on, you can use the GetPowerOn API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N True or False
36
To determine whether the attention light is on, you can use the GetAttentionLight API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N True or False
Is SPCN present?: You can use the GetSPCNPresent API to determine whether the system powered control network (SPCN) is present on the system. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N True or False
Getting the IPL mode: To determine the system initial program load (IPL) mode, you can use the GetIPLMode API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N Manual, Normal, Auto, or Secure
Getting the IPL type: To determine the system IPL type, you can use the GetIPLType API. There are no restrictions to the use of this command. This API returns the following information.
37
Bytes 2 and 3 16-bit additional data length N N = size of the ASCII return value (The NULL at the end of the string is not included in the value.)
Getting the IPL speed: To determine the system initial program load (IPL) speed, you can use the GetIPLSpeed API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N Bytes 4 through 4+N
Slow/Fast or V=Slow/V=Fast Note: The responses with N = size of the ASCII return value V=Slow/V=Fast indicate the default (The NULL at the end of the string is IPL speed. not included in the value.)
Getting type and model information: To determine the system type and model numbers, you can use the GetType&Model API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N Bytes 4 through 4+N ZZZZZZZZ
N = size of the ASCII return value (ASCII string with type and model (The NULL at the end of the string is information.) not included in the value.)
Getting the SPCN system reference code: To return the system powered control network (SPCN) system reference code (SRC), if available, you can use the GetSPCNSRC API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the hexadecimal return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N 0x'XXXXXXXX' Note: Hexadecimal return data will be 4 bytes available by SRC.
38
To return all the system reference codes (SRCs) 1 through 9, if available, you can use the GetSRCs API. There are no restrictions to the use of this command. This API returns the following information.
Bytes 0 and 1 16-bit return code 0 = Command successful 1 = Command unsuccessful Bytes 2 and 3 16-bit additional data length N N = size of the hexadecimal return value (The NULL at the end of the string is not included in the value.) Bytes 4 through 4+N 0x'XXXXXXXX' Note: Hexadecimal return data will be 4 bytes available by SRC.
39
Prerequisites
This procedure assumes that the system is running, and requires that several additional conditions be met before you begin an IPL. While most of these settings are the default values, you must verify them if you are unsure. v The IPL mode for the system must be set to Normal (unattended IPL). v The Type of restart (QIPLTYPE) system value must be set to unattended (0). v Turn on any devices, such as display stations, printers, tape devices, and controllers, that you or others want to use.
Situation
Unattended IPLs reset system storage and recognize any configuration changes automatically. The amount of time required for any IPL depends on the size and complexity of the system, ranging from a few minutes to several hours. When the unattended IPL is complete, the sign-on display appears on the display station. Note: If you are working on a system that has logical partitions, you need to understand how to restart and turn off the system with logical partitions.
40
Related concepts Operating mode of an IPL on page 45 The operating mode determines the number of options that are presented to the operator for consideration during and after the initial program load (IPL). It can also secure (lock) the control panel to prevent an unauthorized or inadvertent IPL from the control panel. System values that control IPL on page 57 You can use these system values to control the type of initial program load (IPL) and the way the system performs an IPL. You can now work with all system values in System i Navigator. Subsystems Scheduling a system shutdown and restart on page 50 You can set up a schedule that automatically turns your system on and off at the time of day you set. You can also specify special circumstances that change the normal daily schedule, such as a holiday or special closing. Related tasks Restarting and powering down a system with logical partitions Related reference ENDSYS (End System) command ENDSBS (End Subsystem) command
Prerequisites
This procedure assumes that the system is running, and requires that several additional conditions be met before you begin an initial program load (IPL). Most of these settings are the default values, but you must verify them if you are unsure of the current setting. v The IPL mode for the system must be set to Manual (attended IPL). v The Type of restart (QIPLTYPE) system value must be set to attended (1). v Turn on any devices, such as display stations, printers, tape devices, and controllers that you or others want to use.
Situation
If you want to change IPL options, install the operating system, use dedicated service tools, work with logical partitions, or recover from a system failure, you need to perform an attended IPL. This IPL mode requires that you respond to several prompts during the startup sequence.
41
After you begin the attended IPL, the system displays the IPL options display where you can choose which options you want to work with during the IPL. During the IPL, the system displays any options that you selected, or that are required due to system changes. Related concepts Operating mode of an IPL on page 45 The operating mode determines the number of options that are presented to the operator for consideration during and after the initial program load (IPL). It can also secure (lock) the control panel to prevent an unauthorized or inadvertent IPL from the control panel. System values that control IPL on page 57 You can use these system values to control the type of initial program load (IPL) and the way the system performs an IPL. You can now work with all system values in System i Navigator. Subsystems Changing your password on page 53 During the installation of the i5/OS licensed program, you might need to enter the system password for the initial program load (IPL) to continue. Related reference ENDSYS (End System) command ENDSBS (End Subsystem) command Attended IPL displays: During an attended initial program load (IPL), your display station or console displays any required or selected displays. The following displays appear during the IPL, if you select them on the IPL options display: v Set major system options v Define or change the system The following displays appear if system changes require them: v Edit access paths v Edit check pending constraints Setting major system options: The Set Major System Options display allows you to select automatic configuration, the type of device configuration naming, and the special environment in which you want to run. To set these options, follow these steps: 1. Type the new values over the existing values in the following fields: v Enable automatic configuration Y (Yes) automatically configures local devices. N (No) indicates no automatic configuration. v Device configuration naming *NORMAL uses a naming convention unique to the System i platform; for example, DSP01 and PRT01 for displays and printers, TAP01 and OPT01 for tape and CD-ROM devices. *DEVADR uses a naming convention which is obtained from the device resource name, for example, DSP010203 for a display station, PRT010203 for a printer, TAP01 and OPT01 for tape and CD-ROM devices. v Default special environment *NONE indicates that there is no special environment. 2. Press Enter.
42
Defining or changing the system at IPL: On the Define or Change the System at IPL display, you can change the system configuration, system values, user profiles, and system, network, object, or file attributes during the initial program load (IPL). This display is shown when you type Y (Yes) in the Define or change the system at IPL field on the IPL Options display. 1. Select any of the following options: v To change the way the system starts, select option 3 (System value commands). v To change any of the other options, select them before exiting and continuing the IPL. 2. When you finish using the options on this display, press F3 (Exit and continue IPL) to continue the IPL. Related concepts Changing system values during IPL on page 47 System values control information that affects the operation of certain parts of the system. On the System Value Commands display, you can change system values that affect initial program load (IPL) or other areas of the system. Editing access paths during attended IPL: Applications use access paths to determine the order of records in a database file. If the access paths have changed, use the Edit Rebuild of Access Paths display to reconstruct them. Access paths define the order that records in a database file are organized for processing by a program. If there are access paths to rebuild, the Edit Rebuild of Access Paths display is shown after the IPL Options display. Tip: Use the online help information about this display to get more information about each column and field. A message notifies you that a journal needs to perform an access path recovery. A journal is a system object. It is used to record entries in a journal receiver when a change is made to an object associated with the journal. Any access path that is recoverable (because it was recorded) is not shown on this display. The IPL threshold indicates that access paths with a sequence less than or equal to the number specified will be rebuilt at IPL time. It is a value from 1 through 99 that you can set (the default is 50). If the IPL threshold changes, all access paths with a status of IPL and AFTIPL changes to reflect the new status of the IPL threshold. v To change the sequence of access paths that are rebuilt, follow these steps: 1. Make any changes to the Seq column. 2. Press Enter. v If you do not want to change the sequence, press Enter. The Display Access Path Status display is shown if there are access paths left to be rebuilt. Tip: Press Enter to continue with the IPL from the Edit Rebuild of Access Paths display. If no access paths need to be rebuilt, the IPL continues. If you press F3 (Exit and continue IPL), the access paths are rebuilt while the IPL continues. If you press F12 (Cancel), you return to the Edit Rebuild of Access Paths display. Every 5 seconds, the display is updated with the current run time. After all the access paths have been rebuilt (access paths with a sequence less than or equal to the IPL threshold), the IPL continues. Editing check pending constraints during attended IPL:
Basic system operations
43
Some physical files might have restrictions placed on them. These restrictions need to be verified during an initial program load (IPL). On the Edit Check Pending Constraints display, you can verify the status of these physical files. During an attended IPL, the Edit Check Pending Constraints display is shown if there are constraints to be verified. A constraint is an attribute that places a restriction or limitation on a physical file. Tip: Use the online help information about this display to get more information about each column and field. On the Edit Check Pending Constraints display, you can change the sequence (1 through 99) of the constraints to be verified. If the constraint has a sequence less than or equal to the IPL threshold, it is verified during the IPL. If a constraint has a sequence greater than the IPL threshold, it is verified after IPL. The sequence *HLD indicates that the constraint is not verified until it is changed to a number from 1 through 99. When the IPL threshold changes, all constraints with a status of IPL or AFTIPL are changed to reflect the new status of the IPL threshold. v To change the sequence of check pending constraints, follow these steps: 1. Make any changes to the Seq column. 2. Press Enter. v If you do not want to change the sequence, press Enter. The Display Constraint Status display is shown if there are constraints left to be verified. If you press F3 (Exit and continue IPL), the constraints are verified while the IPL continues. Every five seconds, the display is updated with the current run time. After all constraints with IPL status have been verified, the IPL continues. If you press F12 (Cancel), you return to the Edit Check Pending Constraints display.
44
IPL type A Use IPL type A when directed for special work, such as applying fixes (PTFs) and diagnostic work. For example, use IPL type A in the following circumstances: v When IPL type B fails v When the procedures direct you to use IPL type A v When you suspect problems with temporary Licensed Internal Code fixes. IPL type A uses the A copy of Licensed Internal Code during and after the IPL. This copy of Licensed Internal Code is the permanent copy. It resides in System Storage Area A. It contains no temporarily applied fixes. IPL type B Use IPL type B for routine work and when directed by a PTF procedure. This type of IPL runs the newest copy of Licensed Internal Code and is necessary when you permanently apply certain fixes. IPL type B uses the B copy of Licensed Internal Code during and after the IPL. This copy resides in System Storage Area B. This copy contains temporarily applied fixes. IPL type C Rochester development support reserves this type of IPL for hardware service representatives. Attention: Do not use this function. Data loss can occur with improper use of this function.
IPL type D Use IPL type D when directed for special work, such as installing and reloading programs. IPL type D loads the system programs from an alternate IPL load source, such as a tape drive or CD-ROM. Typically an IPL uses programs that are stored on the primary IPL load source (typically a disk drive). Sometimes it is necessary to perform an IPL from another source, such as programs that are stored on tape. To do this, you must use IPL type D to perform an IPL from the alternate IPL load source. Use IPL type D only during one of the following situations: v When the installation or restore procedures direct you to use IPL type D v When IPL type B and IPL type A fail (when the primary IPL load source cannot perform an IPL on the system properly) and only when directed by your support personnel v When service directs you to perform an alternate installation Related concepts Changing operating modes and IPL types on page 46 By changing IPL types, you can perform an initial program load (IPL) from the load-source media or from an alternate load source media. With this operation, you can apply fixes (PTFs). By changing the operating mode, you have several options in controlling the IPL. Related tasks Using software fixes Operating mode of an IPL: The operating mode determines the number of options that are presented to the operator for consideration during and after the initial program load (IPL). It can also secure (lock) the control panel to prevent an unauthorized or inadvertent IPL from the control panel. There are four operating modes:
45
Normal (unattended) After the power-on, operating the system in Normal (unattended) mode requires no operator intervention during the IPL. When you turn on the system in normal mode, it performs the IPL and presents the Sign On display on all available display stations. The operator cannot change the system during the IPL. Dedicated service tools (DST) and the operating system do not present any displays during this IPL. Use a normal mode (unattended) IPL to perform the following actions: v Perform an IPL and run the system for most routine work v Perform a remote IPL v Turn on and perform an IPL by date and time Manual (attended) After power-on, operating the system in Manual (attended) mode means that an operator uses the control panel to direct the system for special needs. During manual mode IPL, DST and the operating system present menus and prompts that allow you to make changes to the internal system environment. This can include entering debug mode for service representatives to diagnose difficult problems. Use the manual mode to perform an IPL and run the system to perform the following actions: v Change IPL options (including system values) v Install the operating system v Load fixes (PTFs) v Make some types of system hardware upgrades v Use DST (for advanced users and service only) v Problem diagnosis (for advanced users and service only) Auto (automatic) Use Auto mode for an automatic remote IPL, automatic IPL by date and time, and an automatic IPL after a power failure. Secure Use Secure mode to prevent use of the control panel to perform an IPL. This mode is not a form of IPL; it is a means to prevent an unauthorized or inadvertent IPL from the control panel. Related concepts Starting the system without making configuration changes (unattended IPL) on page 39 This is the most common way to start the system. Unattended initial program loads (IPLs) reset system storage and recognize any configuration changes automatically. Changing the system during IPL (attended IPL) on page 41 If you want to change initial program load (IPL) options, to install the operating system, to use dedicated service tools, to work with logical partitions, or to recover from a system failure, you need to perform an attended IPL. These situations might require you to enter information or change system values. Changing operating modes and IPL types By changing IPL types, you can perform an initial program load (IPL) from the load-source media or from an alternate load source media. With this operation, you can apply fixes (PTFs). By changing the operating mode, you have several options in controlling the IPL. Solving problems with the automatic power schedule on page 51 If the power schedule is not working, use this topic for diagnosis. Changing operating modes and IPL types:
46
By changing IPL types, you can perform an initial program load (IPL) from the load-source media or from an alternate load source media. With this operation, you can apply fixes (PTFs). By changing the operating mode, you have several options in controlling the IPL. Changing the IPL type and the operating mode for systems with a keystick To change the IPL type and the operating mode for systems with a keystick, follow these steps: 1. Insert the keystick. 2. Use the Mode button to scroll through the four operating modes (Manual, Normal, Secure, and Auto) and select the Manual mode. Note: An indicator light on the control panel shows the active mode. 3. Use the Increment or Decrement button to select function 02 (only available in Manual mode), and press the Enter button. 4. Use the Increment or Decrement button to select the required IPL type (A, B, C, or D) and press the Enter button. Changing the IPL type and the operating mode for systems without a keystick To change the IPL type and the operating mode for systems without a keystick, follow these steps: 1. Use the Increment or Decrement button to select function 02, and press the Enter button. 2. Use the Increment or Decrement button to select the required IPL type (A, B, C, or D) and the operating mode (either M=manual or N=normal), and press Enter. Note: The control panel displays both the IPL type and the operating mode. For example, B_N indicates a B type IPL in a normal mode. Related concepts IPL type on page 44 The IPL type determines which copy of programs your system uses during the initial program load (IPL). Operating mode of an IPL on page 45 The operating mode determines the number of options that are presented to the operator for consideration during and after the initial program load (IPL). It can also secure (lock) the control panel to prevent an unauthorized or inadvertent IPL from the control panel. Changing system values during IPL: System values control information that affects the operation of certain parts of the system. On the System Value Commands display, you can change system values that affect initial program load (IPL) or other areas of the system. This display is shown when you type a Y (Yes) in the Define or change the system at IPL field on the IPL Options display (see step 6). To 1. 2. 3. 4. change system values during an IPL, follow these steps: Select option 3 (System value commands) on the Define or Change System at IPL display. Select option 3 (Work with system values). Select option 2 (Change) on the Work with System Values display. Type the new system value over the current value and press Enter.
5. Press F3 (Exit) to return to the System Value Commands display. 6. Press F3 (Exit) to return to the Define or Change the System at IPL display, and press F3 again to continue the IPL.
47
Some system values that you change do not take effect until the next IPL, while others take effect immediately. Security considerations To change system values, you must be signed on as QPGMR, QSYSOPR, or QSRV, or have all object (*ALLOBJ) authority. Certain system values can be changed only by a security officer (someone with all object (*ALLOBJ) and security administrator (*SECADM) special authorities). Related concepts System values that control IPL on page 57 You can use these system values to control the type of initial program load (IPL) and the way the system performs an IPL. You can now work with all system values in System i Navigator. Related tasks Defining or changing the system at IPL on page 43 On the Define or Change the System at IPL display, you can change the system configuration, system values, user profiles, and system, network, object, or file attributes during the initial program load (IPL).
48
Table 11. Source information for CL startup program Object QSTRUP Command CRTCLPGM CL program source PGM DCL VAR(&STRWTRS) TYPE(*CHAR) LEN(1) DCL VAR(&CTLSBSD) TYPE(*CHAR) LEN(20) DCL VAR(&CPYR) TYPE(*CHAR) LEN(90) VALUE('+ 5761-SS1 (C) COPYRIGHT IBM CORP 1980, 2008. + LICENSED MATERIAL - PROGRAM PROPERTY OF IBM') QSYS/STRSBS SBSD(QSERVER) MONMSG MSGID(CPF0000) QSYS/STRSBS SBSD(QUSRWRK) MONMSG MSGID(CPF0000) QSYS/RLSJOBQ JOBQ(QGPL/QS36MRT) MONMSG MSGID(CPF0000) QSYS/RLSJOBQ JOBQ(QGPL/QS36EVOKE) MONMSG MSGID(CPF0000) QSYS/STRCLNUP MONMSG MSGID(CPF0000) QSYS/RTVSYSVAL SYSVAL(QCTLSBSD) RTNVAR(&CTLSBSD) IF ((&CTLSBSD *NE 'QCTL QSYS ') + *AND (&CTLSBSD *NE 'QCTL QGPL ')) GOTO DONE QSYS/STRSBS SBSD(QINTER) MONMSG MSGID(CPF0000) QSYS/STRSBS SBSD(QBATCH) MONMSG MSGID(CPF0000) QSYS/STRSBS SBSD(QCMN) MONMSG MSGID(CPF0000) DONE: QSYS/STRSBS SBSD(QSPL) MONMSG MSGID(CPF0000) QSYS/RTVSYSVAL SYSVAL(QSTRPRTWTR) RTNVAR(&STRWTRS) IF (&STRWTRS = '0') GOTO NOWTRS CALL PGM(QSYS/QWCSWTRS) MONMSG MSGID(CPF0000) NOWTRS: RETURN CHGVAR VAR(&CPYR) VALUE(&CPYR) ENDPGM
Startup program to set the (QSTRUPPGM) system value: The program to set the QSTRUPPGM system value is the startup program. The QSTRUPPGM system value specifies the name of the program that is called from an autostart job when the controlling subsystem is started. This program performs setup functions, such as starting subsystems and printers. This system value can only be changed by the security officer or by someone with security officer authority. A change to this system value takes effect the next time an initial program load (IPL) is performed.
Basic system operations
49
The QSTRUPPGM system value can have these values: v QSTRUP QSYS: The program that is specified is run as a result of a transfer of control to it from the autostart job in the controlling subsystem. v *NONE: The autostart job ends normally without calling a program. The default startup program QSTRUP in library QSYS performs the following actions: v Starts the QSPL subsystem for spooled work v Starts the QSERVER subsystem for file server work v Starts the QUSRWRK subsystem for user work v Releases the QS36MRT and QS36EVOKE job queues if they were held (these are used by the System/36 environment) v Starts Operational Assistant cleanup, if allowed v Starts all printer writers unless user specified not to on the IPL Options display v If the controlling subsystem is QCTL, it starts the QINTER, QBATCH, and QCMN subsystems
Table 12. Details of the default startup program QSYS/QSTRUP Type Character Length 20 Shipped CL value QSTRUP QSYS
50
The power-on and power-off schedule shows the date, day, and time (using the 24-hour clock) that the system will be turned on and off. The Description column includes comments about those days that have been changed from the system's regular schedule. Any user can display this schedule. Changing power-on and power-off schedule defaults: You can change the current settings for your schedule. To set up your own power-on and power-off schedule, select option 2 (Change power on and power off schedule) on the Power On and Off Tasks (POWER) menu. On the Change Power On/Off Schedule display, press F10 (Change power on/off defaults). On this display, you can change the first day of the week by typing a number in the First day of week field. Also, the system automatically sends users a message telling them when the system will be turned off. In the Minutes before turning off to send field, you can indicate the number of minutes before turning off that you want the system to send this message. When the system sends the power off message, you can delay the scheduled time for turning off from 30 minutes to 3 hours when you reply to the message. Then the system will wait the time specified before turning off. You do not have another chance to delay the time. For example, if you want the system turned on at 7:30 a.m. and off at 8:00 p.m. on Saturdays and Sundays, type the new times in the Default Power On and Default Power Off columns next to Saturday and Sunday. When you press Enter, your changes are shown on the Display Power On/Off Schedule and the Change Power On/Off Schedule displays. Changing the power-on and power-off schedule for a single event: You can create a one-time scheduled shutdown and startup, without adjusting the default schedule. Use the Change Power On/Off Schedule display to change the power-on and power-off schedule for a single day. For example, to change the startup and shutdown time for the company picnic on Wednesday, May 3, follow these steps: 1. Type 14:30 in the Power Off column to turn the system off at 02:30 p.m. so the employees can attend the picnic. 2. Type the reason for the change, Closing - Company picnic, in the Description column across from the date and time and press Enter. 3. Type the start time 05:30 in the Power On column to turn the system back on Thursday, May 4. To display the schedule starting on a different date, type the date you want to start with in the Start list at field and press Enter. The information that is displayed begins with the date you specify. Solving problems with the automatic power schedule: If the power schedule is not working, use this topic for diagnosis. v Make sure that the Start Cleanup (STRCLNUP) command is part of your startup program. v The automatic power scheduler uses a job called QSYSSCD to process the requests for schedule changes. The Start Cleanup (STRCLNUP) command must be run to start the QSYSSCD job. The IBM-supplied startup program includes the Start Cleanup (STRCLNUP) command. If you have your own startup program from a previous release, it might not contain the Start Cleanup (STRCLNUP) command. v Make sure that you specify Yes on the Change Cleanup (CHGCLNUP) command to allow automatic cleanup. The QSYSSCD job will not start if you do not allow automatic cleanup.
Basic system operations
51
v Make sure that the Start Cleanup (STRCLNUP) command submits the QSYSSCD job to the job queue specified in the Change Cleanup (CHGCLNUP) command. v Check to see if the QSYSSCD job is running; it could be on a held job queue. v Make sure that the job queue to which the Start Cleanup (STRCLNUP) command is submitted has the Maximum jobs parameter set to *NOMAX or a number greater than 1. Because the QSYSSCD job always runs, the other jobs that perform automatic cleanup and turn-off functions are not able to start if the Maximum jobs parameter is set to 1. To change the Maximum jobs parameter on the job queue entry, use the Change Job Queue Entry (CHGJOBQE) command. v Make sure that the mode is set to Normal or Auto. Related concepts Operating mode of an IPL on page 45 The operating mode determines the number of options that are presented to the operator for consideration during and after the initial program load (IPL). It can also secure (lock) the control panel to prevent an unauthorized or inadvertent IPL from the control panel.
52
1. Select a system. 2. At the System i Signon prompt, enter your user ID and password.
53
Related concepts Changing the system during IPL (attended IPL) on page 41 If you want to change initial program load (IPL) options, to install the operating system, to use dedicated service tools, to work with logical partitions, or to recover from a system failure, you need to perform an attended IPL. These situations might require you to enter information or change system values. Changing the system password: You can change the system password during the initial program load (IPL). v If you have just installed new hardware, you might need to change the system password during the first IPL. To do this, follow these steps: 1. Select option 1 (Change the system password) on the Verification of System Password Failed display. The following system information about the Change the System Password display is shown: System serial number System type number System model number System password version Processor card serial number Type the password in the blank field and press Enter. If you do not know the system password, press F12 (Cancel) and select option 2 (Bypass the system password) on the Verification of System Password Failed display. change the system password when your system is operational, follow these steps: Perform an attended IPL. Select option 1 (Change the system password) on the Verification of System Password Failed display.
2.
v To 1. 2.
3. Type the password in the blank field and press Enter. Bypassing the system password: You can use the Verification of System Password Failed display to bypass the system password. Bypass the system password in these situations: v You do not know or cannot find the system password. v You guess the system password and get a message stating that the password you entered is incorrect. Note: If you type the password incorrectly five times, you must perform the initial program load (IPL) again. To bypass the system password during the first IPL, follow these steps: 1. Select option 2 (Bypass the system password) on the Verification of System Password Failed display. 2. Read the information about the Bypass the System Password display. Remember to contact your marketing representative immediately to obtain the system password before the bypass period runs out. 3. Press F9 (Bypass) to continue the IPL. When the IPL has finished, you will receive hourly messages that tell how much time is left in the bypass period. When you receive the password, you can enter it by following these steps:
54
v Perform an attended IPL and select option 1 (Change the system password) on the Verification of System Password Failed display. v Perform an attended IPL and select option 1 (Change the system password) on the Bypass Period has Ended display.
55
a. Check to see if there are any tapes in any tape units or CD-ROMs in any optical units. b. Remove any tapes or CD-ROM currently in the unit. The i5/OS operating system provides several ways to safely turn off your system: v Use the Power Down System (PWRDWNSYS) command to either perform a controlled shutdown operation or to shut down the system immediately. v You can stop the system using the Power On and Off Tasks (POWER) menu. To get to the Power On and Off Tasks menu, type go power on any command line and press Enter. v You can set up a schedule that automatically turns your system on and off. You can determine the time of day that you want the system turned on and off. You can also specify special circumstances that change the normal daily schedule, such as a holiday or special closing. v In emergencies you can stop the system by using the Power button. However, using the Power button might cause errors with your data files and other objects on the system. Related concepts Scheduling a system shutdown and restart on page 50 You can set up a schedule that automatically turns your system on and off at the time of day you set. You can also specify special circumstances that change the normal daily schedule, such as a holiday or special closing. Subsystems, job queues, and memory pools on page 69 You can control work on the system by working with the resources used to process jobs. Subsystems, job queues, and memory pools are the basic parts of work management. You can work with subsystems and job queues to manage specific jobs or to adjust the system's work flow. Controlled shutdown concepts Related tasks Normal control panel functions on page 17 These instructions show how to use normal control panel functions 01 through 49. Functions 21 through 49 are available when you select the Manual mode. Related reference Power Down System (PWRDWNSYS) command Related information Work with Subsystems (WRKSBS) command End Subsystem (ENDSBS) command
56
2. Press F16 (Confirm) to confirm your choice. The system stops running and then starts again automatically. Notes: 1. Do not turn the modem on or off when the system is turned off and is made ready for remote initial program load (IPL). Otherwise, the system might start unexpectedly, although it turns itself off in a few minutes. 2. If you stop the system using the automatic power schedule or one of the options on the Power On and Off Tasks (POWER) menu, the IPL date and time system value (QIPLDATTIM) is checked and, if necessary, reset to the next scheduled power-on time. This checking does not occur if you turn off the system in another way, so the system might not turn on automatically. To force the power schedule to update the Date and time (QIPLDATTIM) system value, enter the following command on any command line: CHGPWRSCDE DAY(*TODAY) PWRONTIME(*SAME) PWROFFTIME(*SAME)
57
From System i Navigator, select your system Configuration and Service System Values Restart General. To set the date and time format, use the Date and Time (QDATFMT, QDATSEP, QTIMSEP) system values.
Attended (1)
58
Power down system, system calculates delay time (*CALC) Do not automatically power down system (*NOMAX)
59
Library
Related concepts Starting the system without making configuration changes (unattended IPL) on page 39 This is the most common way to start the system. Unattended initial program loads (IPLs) reset system storage and recognize any configuration changes automatically. Changing the system during IPL (attended IPL) on page 41 If you want to change initial program load (IPL) options, to install the operating system, to use dedicated service tools, to work with logical partitions, or to recover from a system failure, you need to perform an attended IPL. These situations might require you to enter information or change system values. Changing system values during IPL on page 47 System values control information that affects the operation of certain parts of the system. On the System Value Commands display, you can change system values that affect initial program load (IPL) or other areas of the system. Restart system values: Allow scheduled restart Restart system values: Previous restart type Restart system values: Type of restart Restart system values: Automatically restart after power failure Restart system values: Allow remote power-on and restart Power control system values: When power failure occurs Power control system values: Message queue and library Related tasks International system values: Date and time (QDATFMT, QDATSEP, QTIMSEP)
i5/OS concepts
IBM i5/OS is the operating system for the System i platform. It manages hardware and software resources, and provides an interface that you can use to work with the system. To best use the operating system, you need to be familiar with some system concepts.
60
Objects
Everything on the system that can be worked with is considered an object. Objects provide a common interface for working with system components. Learn about the different kinds of objects and how to work with them.
System maintenance
Logs and journals Software fixes Record keeping is an important way for the system to protect data and track system problems. Learn what logs and journals are for and how to use them. Recent versions of i5/OS software add functions and solve known problems. Learn how to install and manage software and software updates.
Additional reference information can be found in the IBM glossary. Related reference i5/OS glossary
Messages
Messages are communications sent from another user, from the operating system, or from an application. Messages are communications that are sent from a person, a program, or the operating system to a message queue. Every user profile and workstation has a message queue associated with it. All message queues are named after the user or workstation that they are associated with, and get created automatically when the user signs on to the system for the first time, or when the workstation is first defined. The message queue for the QSYSOPR profile is particularly important because the system sends many messages about job completion and system status to the QSYSOPR message queue.
i5/OS commands
The operating system uses control language (CL) commands to interpret instructions from users. You need to know the basic rules for using CL, and how to get detailed help for any CL command. CL provides a powerful and flexible means of entering commands on the system. You can use CL to control most of the operating system functions by entering them from the character-based interface, by including them in programs, or by sending commands in System i Navigator. While the System i menu system and CL commands might be unfamiliar at first, they follow an easy-to-use syntax, and the operating system includes many features to help you use them successfully.
61
CL command syntax
CL commands consist of a verb, an object, and sometimes an adjective; for example, WRKACTJOB:
Verb WRK Work Adjective ACT Active Object JOB Job
One of the important features of CL syntax is that it is consistent. For example, regardless of the object or command you want to work with, using the verb WRK in the command starts a menu that allows you to perform the available actions on the specified object.
Entering CL commands
You can enter CL commands from System i Navigator by selecting Run a command from the taskpad. In System i Navigator, a taskpad is a view of system tasks that lets a user interact with operating system functions. It contains a set of interrelated tasks that either perform a function or launch help that explains how to perform a function. Alternatively, you can enter CL commands from any command line and most displays on the character-based interface. Every command has a set of required and optional parameters. For example, Create Library (CRTLIB) requires, at a minimum, that you specify the name of the library that you want to create. The syntax for more complex CL commands is command_name parameter (value). For example, CRTLIB LIB (FRED) enters the verb create on the object type library, and specifies that the required parameter LIB, the library name, must have the value FRED. This command causes the operating system to create a library called FRED. If you are not familiar with the parameters associated with a CL command, you can enter the command with the parameters you already know, place the cursor on the command, and press F4 (Prompt). The system then displays the available options for the command. Entering a command without any parameters also causes the system to prompt you for any required fields, making field-level help available. For example, entering CRTLIB causes the system to show the following display.
62
Also, security settings regarding policies and authorization lists are available in System i Navigator under Security.
Basic system operations
63
Assume that a user needs authorization to add, change and delete data in a database, but does not need to delete tables or the database itself. The user can be granted object data-level authority, rather than object-level authority. Note: Adopted authority will grant users access to objects called by an object they are working with. Administrators can allow or restrict adopted authority with security system values.
Security levels
The operating system operates in one of several predefined levels of security. The security level currently in effect determines the level of detail that user profiles must provide to grant appropriate access to system resources. This level of detail can range from simple password management to explicitly providing a level of access to each object that a user can read or change. Security on your system is arranged in a series of levels or classes, each offering a greater degree of security and protection of your data than the previous. Select the level that best meets the needs of your organization. You can use System i Navigator to change these settings on a single system or across multiple systems. Level 20 This level is referred to as password security. That is, users must have a password and user ID that is recognized by your system to gain access to the system. Both the user ID and initial password are created for users by the system administrator. This level of security offers all users on the system total authority to do anything they want. That means they can access all data, files, objects, and so on, on your system. This might be appropriate for small businesses where internal security is a low priority, but will likely be inappropriate for larger businesses that do not want every employee to be able to access confidential payroll files, for example. Level 30 This level is referred to as resource security. That is, users must have a valid user ID and password defined for them by the system administrator, and no longer have automatic access to everything on the system. User access is limited by the security policies of the business. Level 40 This level is referred to as system integrity security. That is, at this level, the system itself is protected against users. User-written programs cannot directly access the internal control blocks through pointer manipulation. Level 40 is the default security level for every new installation.
64
Level 50 This level is referred to as enhanced system integrity security. Level 50 is the recommended level of security for most businesses, because it offers the highest level of security currently possible. Not only is the system protected against user-written programs, but it ensures that users only have access to data on the system, rather than information about the system itself. This offers greater security against anyone attempting to learn about your system. Related information Planning and setting up system security Security reference
User profiles
The user profile contains most of the authorizations and preferences for individual users or groups. With System i Navigator, you can create and manage users and groups across the system. User profiles contain the information that the system requires to allow users to sign on to a system, to access their own customized session, including their own message and output queue, and to access functions and objects to which they have been granted authority. A user profile includes: v A system user profile name v The user's privileges and limitations v A list of objects the user owns or is authorized to use v A reference to a message queue v A reference to an output queue v Information about which groups the user is a member of (up to 16) v v v v Information about the user's last sign-on Job attributes, such as description and priority, the initial program to call, and the initial library list National language settings Other attributes, such as the user ID (UID), group ID (GID), and home directory
User profiles can be included in group profiles. In this way, all group members share attributes, access to specific objects, and ownership of objects. Group profiles can simplify many user administration tasks by allowing you to apply a single change to many users. System i Navigator's user administration function provides convenient ways to manage users and groups across the system.
Authorization lists
Authorization lists consist of a list of users or groups, the type of authority (use, change, and exclude) for each user or group, and a list of objects to which this list provides access. Providing each user with explicit access to every object the user needs to work with might create a great deal of duplicated effort because many users need to access the same group of objects. A much easier
Basic system operations
65
way to provide this access is to create authorization lists. Users and groups can then be authorized to this list, which grants them authority to everything that the list contains. To work with authorization lists, open Security in System i Navigator and select Authorization lists. For example, an authorization list can be created to contain a list of objects related to an inventory database. A user responsible for ordering new inventory items can be granted authority to see the contents of the database objects. Additionally, a user group in shipping and receiving needs to update this database as parts come in and out of stock. This group can have authority to change the contents of the objects.
Spooled files
Spooling is a system function that saves data in a database file for later processing or printing. With spooled files, you can manage your data files on attached devices, such as a diskette or printer.
Tape files
Tape files are device files that provide access to attached tape devices. The Tape files topic collection describes the characteristics and use of tape device files for application programs. This topic also provides information about storing and accessing data from a tape device, and conceptual information about tape, tape data files, and tape device files.
66
Related concepts Objects on page 70 Everything on the system that can be worked with is considered an object. Objects provide a common interface for working with system components. This topic discusses the different kinds of objects and how to work with them. Database file management Securing the integrated file system Related information Spooled files and output queues
67
Jobs
All work done by the operating system is divided into units called jobs. Jobs are how the operating system organizes, tracks, and processes work. A job typically includes all of the information the system requires to complete a specific task. This information might include data files, programs, and instructions for processing and tracking the job throughout its processing. Jobs vary greatly in their complexity, ranging from simple tasks, like printing a specified document, to complex procedures, like generating reports based on information spread throughout the system. Tracking and managing jobs is an important part of normal system operation. Jobs are an essential part of work management. To learn more about how jobs are processed, including working with subsystems and job queues, see The structure of your system. For an example of how jobs move through the system, see A job's life.
68
After finding the jobs you want to work with, you can display their attributes or change their queue, priority, messages, and other features by right-clicking the job and clicking Properties. Additionally, your system administrator might decide to set up a job monitor to work with some jobs. Related concepts Managing jobs Related tasks Creating a new monitor
69
During this process, you might want to monitor a job's progress or adjust its priority. Also, if the system is having trouble processing certain types of jobs, you might need to adjust the subsystems resources.
Objects
Everything on the system that can be worked with is considered an object. Objects provide a common interface for working with system components. This topic discusses the different kinds of objects and how to work with them. One of the differences between the i5/OS operating system and other operating systems is the concept of objects. Anything that you can change in the operating system is a type of object. For example, data files, programs, libraries, queues, user profiles, and device descriptions are all types of objects. By treating everything as an object, the operating system can provide all of these items with an interface that defines what actions users can perform, and how the operating system needs to treat the encapsulated data. Additionally, this interface allows for standardized commands across different system elements; the commands for working with user profiles and data files are similar. One important type of object is the library. Libraries are essentially containers, or organizational structures for other objects, and you can use libraries to reference other objects on your system. Libraries can contain many objects, and can be associated with a specific user profile or application. The only library that can contain other libraries is called QSYS. It contains all other libraries on the system. There are many different types of objects in the operating system. Finding objects and performing actions on them are basic functions of system operations.
70
Related concepts i5/OS commands on page 61 The operating system uses control language (CL) commands to interpret instructions from users. You need to know the basic rules for using CL, and how to get detailed help for any CL command. Files and file systems on page 66 Files and file systems present information about database file management, spooled files, tape files, and the integrated file system capabilities of the IBM System i platform. i5/OS objects CL commands that operate on i5/OS objects
Logs
A log is a database file that contains the history of backup, archive, recovery, and media management operations that can be displayed online or printed for future reference. Logs are used in backup and recovery situations. Logs can also contain information about jobs, general system information, and problems.
Table 14. Types of logs Log Job logs History logs Problem logs Description Track the description, status, and action of jobs performed by the system. Get general system information, like device changes, operator messages, job completion and other activities. Retrieve records of system problems that occurred on a system.
Journals
A journal is a system object that contains information about changes made to another system object. The journal can be used to recover database files, data areas, data queues, and integrated file systems objects. Regular journaling speeds up management tasks such as save operations. Related concepts Job logs History logs Problem logs Journal management Related information Recovering your system PDF
Software fixes
You can use fixes to install and manage software and software updates. IBM supports several different releases of the operating system, and businesses might have several systems running different versions. This can cause some system operations to be more complex; different versions of the operating system can contain new or changed functions and features. Moreover, IBM provides updates to the operating system and other programs between releases in sets of program
Basic system operations
71
temporary fixes (PTFs), also known as fixes. The PTFs that have been applied to a system can also affect system operations. System i Navigator provides ways to manage the software and fixes across a business. Related concepts Maintaining and managing i5/OS and related software PTF Maintenance Strategy
72
The printout consists of the following sections: v System information, which includes the system type, model, serial number, and release. v Packaging hardware resource information, which includes the resource name, type and model, serial number, part number, frame ID, card position, and device position. v Logical hardware resource information, which includes the resource name, type and model, serial number, and logical address. v A legend, which includes the descriptions of the indicators and logical address format information. Use the legend to help you interpret the information.
IBM Redbooks
Printing VI: Delivering the Output of e-business (7.6 MB)
Other information
v Basic printing v System i Navigator Related reference PDF file for Basic system operations on page 1 You can view and print a PDF file of this information.
73
UNDER NO CIRCUMSTANCES IS IBM, ITS PROGRAM DEVELOPERS OR SUPPLIERS LIABLE FOR ANY OF THE FOLLOWING, EVEN IF INFORMED OF THEIR POSSIBILITY: 1. LOSS OF, OR DAMAGE TO, DATA; 2. DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES, OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES; OR 3. LOST PROFITS, BUSINESS, REVENUE, GOODWILL, OR ANTICIPATED SAVINGS. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF DIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, SO SOME OR ALL OF THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU.
74
Appendix. Notices
This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not grant you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A. For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: IBM World Trade Asia Corporation Licensing 2-31 Roppongi 3-chome, Minato-ku Tokyo 106-0032, Japan The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact: IBM Corporation
Copyright IBM Corp. 1998, 2008
75
Software Interoperability Coordinator, Department YBWA 3605 Highway 52 N Rochester, MN 55901 U.S.A. Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee. The licensed program described in this document and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement, IBM License Agreement for Machine Code, or any equivalent agreement between us. Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurements may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. Each copy or any portion of these sample programs or any derivative work, must include a copyright notice as follows: (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. Copyright IBM Corp. _enter the year or years_. All rights reserved. If you are viewing this information softcopy, the photographs and color illustrations may not appear.
76
Trademarks
The following terms are trademarks of International Business Machines Corporation in the United States, other countries, or both: i5/OS IBM IBM (logo) Redbooks System/36 System i Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Other company, product, or service names may be trademarks or service marks of others.
Appendix. Notices
77
78
Printed in USA