System Startup, Configuration, and Shutdown Reference Manual (32650-90907)
Chapter 4
Using the System Generator (SYSGEN)
Redirecting SYSGEN Input and Output
106
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.
Table 4-3 Actions Performed by Command File LISTIT
Line Action
1Set 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.