Chapter 7. Basic discussions 73
You need to use :w! to save the file in vi, because it is a read-only file. Make these changes
carefully; there is one altered line and three new lines. Be careful not to make any other
changes unless you understand the format and functions of this file.
We changed the large Enter key on the PC keyboard to perform the 3270 New Line function,
the left Cntrl key to perform the 3270 Reset function, and the right Cntrl key to perform the
3270 Enter function. This is the most familiar keyboard arrangement for most 3270 users.
7.7 S/390 identification
You may need to supply the machine type and serial number of your emulated S/390. This is
often needed for S/390 software licenses or registration on various Web sites. With z/OS, the
easiest way to obtain this is with the d m=cpu console command:
d m=CPU
PROCESSOR STATUS
ID CPU SERIAL
0 + 00F0971245
CPC.SI = 1245.L02.FSI.FREM.000000000000F097
You can obtain the same basic information with a command from the flexes prompt:
flexes> display cpuid
CPUID=0a00f097 12450000
Both these displays indicate that the machine type is 1245 and the serial number is 00F097.
(If a machine
type-model number is needed, the model can be taken from the field containing
the L02 in the d m=cpu display.) IBM has reserved machine types 1245, 1246, and 1247 for
FLEX-ES emulated processors. Type 1247 is normally used for FLEX-ES systems obtained
through the IBM S/390 Partners in Development program. The serial number is assigned
through the FLEX-ES license code file and should be unique for each license.
The machine type and serial number are available through the S/390 instruction STIDP.
7.8 z/OS TCP/IP profile
This document is not intended to cover normal S/390 systems programming tasks. However,
the subject of the profile for z/OS TCP/IP arises so often that we include a typical listing for a
small EFS system. This is based on the profile for the AD CD-ROM 1.4s release, with all the
comment lines removed. Your needs may be different; this is offered only as a working
example.
ARPAGE 20
GLOBALCONFIG NOTCPIPSTATISTICS
IPCONFIG DATAGRAMFWD VARSUBNETTING SYSPLEXROUTING
SOMAXCONN 10
TCPCONFIG TCPSENDBFRSIZE 16K TCPRCVBUFRSIZE 16K SENDGARBAGE FALSE
TCPCONFIG RESTRICTLOWPORTS
UDPCONFIG RESTRICTLOWPORTS
DEVICE LCS1 LCS E20 AUTORESTART
LINK ETH1 ETHERNET 0 LCS1
HOME
192.168.0.121 ETH1
BEGINRoutes
; Destination Subnet Mask First Hop Link Packet Size
ROUTE 192.168.0.0 255.255.255.0 = ETH1 MTU 1500

Get EFS Systems on a Linux Base: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.