IBM s/390 manual Shell script for a single HDD, 70 S/390 PID ThinkPad Enabled for S/390

Models: s/390

1 106
Download 106 pages 57.02 Kb
Page 80
Image 80

R10A3174: cu 3174 interface local(1) device(00) 3278 mstcon device(01) 3278 M701 device(02) 3278 M702 end R10A3174

R10A3172: cu 3172 interface local(1)

options 'ipaddress=9.12.17.211' device(00) 3172 eth0 device(01) 3172 OFFLINE

end R10A3172

R10A3480: cu 3480 interface local(1) device(00) 3480 OFFLINE end R10A3480

end R10A

Some FLEX-ES users elect to define emulated 3270 devices as OFFLINE and then use FLEX-ES mount commands (in a shell script) to define and name terminals. For our small system, we found it easier to simply define a number of 3270 terminals (with names such as L701) in our resources definition.

The four AD system volumes used for our initial IPL are normally mounted at addresses A80, A81, A82, and A87. The “gap” between A82 and A87 required the definition of several OFFLINE 3390 volumes. (In this case, the device model (3390-1, -2, -3) is not meaningful.) It would be possible, of course, to mount these volumes at any 3390 addresses contained in the OS/390 IODF. We could have placed the A87 volume on A83 and avoided defining the OFFLINE devices. However, other AD CD-ROM documentation (including several redbooks) uses the addresses we selected and we want to preserve compatibility with this existing documentation.

(If the AD CD-ROM system is installed on the logical volumes of a Multiprise 3000 system, it is typically placed at addresses AA0, AA1, and so forth, or sometimes at addresses 300, 301, and so forth. Normal OS/390 rules for device addressing and usage are followed; there is nothing unique about a ThinkPad/EFS system in this respect.)

The tape definition is OFFLINE. This means that FLEX-ES mount commands are needed before the device can be used. This is typical, and allows the UNIX files to be associated with such devices to be selected and changed while the OS/390 system is operational.

Shell script for a single HDD

After using cfcomp to compile the above definitions, we used this shell script to start operation. (A resadm -s R10A.rescf command must be issued first.)

xmodmapflexesS10A-e 'keysym.syscfAlt_L = Alt_L Meta_L' xset fp+ /usr/flexes/fonts

xset fp rehash

echo 'Verify your master console is active'

x3270 -model 3 -keymap pc -port tn3270 localhost:mstcon & x3270 -model 3 -keymap pc -port tn3270 localhost:M701 & flexescli localhost S10A

70S/390 PID: ThinkPad Enabled for S/390

Page 80
Image 80
IBM s/390 manual Shell script for a single HDD, 70 S/390 PID ThinkPad Enabled for S/390