System Startup, Configuration, and Shutdown Reference Manual (32650-90892)

Chapter 4 115
Using the System Generator (SYSGEN)
Redirecting SYSGEN Input and Output
Example 4-10 lists the contents of the command file (LISTIT), which, when run, prints
SYSGEN information on the system printer.
Example 4-10. SYSGEN Command File (LISTIT)
1 PERMYES ON
2 IO
3 LDEV DEST=OFFLINE
4 LPATH DEST=OFFLINE
5 LCLASS DEST=OFFLINE
6 OCLOSE
7 EXIT
8 EXIT
Table 4-3. explains the actions performed by the lines of the command file example.
When using SYSGEN in a noninteractive mode (such as a batch job or a command file),
certain conditions may occur that cause SYSGEN to ask for confirmation. For example, if a
KEEP is attempted on top of an already existing configuration group, SYSGEN asks for
confirmation. If no configuration exists, no questions are asked.
When you set up the input to SYSGEN you may not know if the question will be asked. To
ensure the operation’s success, set PERMYES ON at the beginning of any set of
noninteractive commands as shown in step 1 above.
2 Activate SYSGEN and redirect input so that SYSGEN uses the file
named LISTIT as the input file.
3 End the job file after SYSGEN has completed the tasks outlined by
the SYSGEN command file LISTIT.
Table 4-3. Actions Performed by Command File LISTIT
Line Action
1 Set PERMYES ON. Recommended for all command files.
2 Activate the IO configurator.
3 Send the characteristics of configured I/O devices to the listing file
SYSGLIST.
4 Send the characteristics of configured I/O paths to the listing file.
5 Send the class name, class mode, and devices associated with each
class to the listing file.
6 Close (print) the listing file.
7 Exit the IO configurator.
8 Exit SYSGEN.
Table 4-2. Actions Performed by Command File Example
Line Action