Interfaces for all the control units defined in the system section
Devices for all the control units defined in the system section
These two definitions can be two separate files or combined into one file. We elected to combine them into one file, as listed in Appendix A,
The
Once compiled, the resource portion (the rescf file) can be activated with the resadm command:
$cd /usr/flexes/rundir
$ su | (switch | to root) |
# resadm | (must be root to use | |
# exit | (switch | back to flexes) |
You can list all active resources with the command:
$resadm -r
Resource: CPU Flags: READY Type: CPU Port: 9365 Pid: 17483
Resource: CHANNEL Flags: READY Type: CHAN Port: 9369 Pid: 17485
Resource: os2821 Flags: READY Type: CU Port: 9368 Pid: 17486
Resource: os3480 Flags: READY Type: CU Port: 9370 Pid: 17487
Resource: os3274 Flags: READY Type: CU Port: 9374 Pid: 17488
Resource: osdasd Flags: READY Type: CU Port: 9375 Pid: 17489
Resource: os3172 Flags: READY Type: CU Port: 9377 Pid: 17490
Resource: osctc Flags: READY Type: CU Port: 9376 Pid: 17491
Resource: NETCU Flags: READY Type: NETCU Port: 9384 Pid: 17492
Resource: TS3270 Flags: READY Type: TS3270 Port: 9381 Pid: 17493
More options of the resadm command are discussed in “The resadm command” on page 81.
Once the resources are active, the system portion is ready to be started and IPLed. This is easier to do with a shell script.
4.1.1 Building a shell script
We used vi to create the following shell script file in /usr/flexes/rundir/shos. (The name shos is arbitrary.) The contents are:
flexes S10A.syscf
xmodmap
xset fp rehash
echo ' Verify your master console session is started ' echo ' and then ipl your system '
echo ' '
x3270
The flexes command (in the shell script) starts an emulated S/390, using the indicated compiled system definition file.
Chapter 4.