Académique Documents
Professionnel Documents
Culture Documents
Contents
Contents.................................................................................. 2
Tables ..................................................................................... 3
1.
Preface........................................................................... 4
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Page 2
Tables
Table 1: Hercules System Parameters ................................... 7
Table 2: Hercules Device Definitions ...................................... 9
Table 3: Process Priority Conversions.................................. 26
Table 4: Thread Priority Conversions ................................... 26
Table 5: Default CU Types ................................................... 37
Table 6: Hercules Console Commands ................................ 44
Table 7: DASD Utilities ......................................................... 80
Table 8: TAPE Utilities .......................................................... 81
Table 9: Miscellanious Utilities.............................................. 81
Table 10: Normal cursor handling......................................... 97
Table 11: Extended cursor handling ..................................... 98
Table 12: Supported CKD DASD Devices.......................... 100
Table 13: Supported FBA DASD Devices .......................... 101
Table 14: Reading Syntax Descriptions.............................. 103
Table 15: Reading Syntax Diagrams .................................. 105
Page 3
1.
Preface
1.1
Edition information
1.2
Revision Notice
Hercules Release:
HerculesReferenceSummary
Revision Number:
HERS030700-01
Date:
1.3
Readers Comments
Page 4
2.
2.1
System Parameters
System Parameter
Description
# or *
Comment line
ARCHMODE
ASN_AND_LX_REUSE
(ALRF)
AUTOMOUNT
AUTO_SCSI_MOUNT
CCKD
CNSLPORT
CODEPAGE
CONKPALV
CPUMODEL
CPU model
CPUPRIO
CPUSERIAL
CPUVERID
DEFSYM
Define symbol
DEVPRIO
DEVTMAX
DIAG8CMD
Page 5
System Parameter
Description
ECPSVM
ENGINES
HERCLOGO
HERCPRIO
HTTPPORT
HTTPROOT
IGNORE
INCLUDE
IODELAY
LDMOD
LEGACYSENSEID
LOADPARM
IPL parameter
LOGOPT
Log options
LPARNAME
LPARNUM
MAINSIZE
Main storage in MB
MANUFACTURER
MAXCPU
MODEL
MODPATH
MOUNTED_TAPE_REINIT
Page 6
System Parameter
Description
NUMCPU
NUMVEC
OSTAILOR
PANRATE
PANTITLE
PGMPRDOS
Emulation of IFL HW
PLANT
SCLPROOT
SHCMDOPT
SHRDPORT
SYSEPOCH
TIMERINT
TODDRAG
TODPRIO
TRACEOPT
TZOFFSET
XPNDSIZE
Expanded storage in MB
YROFFSET
Page 7
2.2
Device Definitions
Device Type
Device
Emulated by
3270, 3278
Local non-SNA
display or printer
TN3270 client
connection
SYSG
Integrated 3270
(SYSG) console
TN3270 client
connection
1052, 3215
Console printerkeyboards
Telnet client
connection
1052-C, 3215-C
Integrated console
printer-keyboards
Integrated on
Hercules console
1442, 2501,
3505
Card readers
3525
Card punch
1403, 3211
Line printers
3410, 3420,
3422, 3430,
3480, 3490,
3590, 9347,
8809
Tape drives
3088
Channel-to-Channel
Adapter
CTCT driver
(( CTCI ))
Channel-to-Channel
link to host TCP/IP
stack
CTCI TUN/TAP
driver
(( LCS ))
LCS (LAN
channel station)
TUN/TAP driver
3310, 3370,
9332, 9335,
9336, 0671
Disk file
Page 8
Device Type
Device
Emulated by
2305, 2311,
2314, 3330,
3340, 3350,
3375, 3380,
3390, 9345
Disk file
2703
Communication line
TCP socket
Page 9
3.
# or * (Comment lines)
Descriptive
# [anything]
or
* [anything]
Diagram
#
anything fl
or
*
anything fl
S/370
ESA/390
ESAME
z/ARCH fl
Page 10
or
ALRF DISABLE
ENABLE fl
Page 11
[,RA={2 | n}]
[,RAQ={4 | n}]
[,RAT={2 | n}]
[,WR={2 | n}]
[,GCINT={5 | n}]
[,GCPARM={0 | n}]
[,NOSTRESS={0 | 1}]
[,FREEPEND={-1 | n}]
[,FSYNC={0 | 1}]
[,TRACE={0 | n}]
[,LINUXNULL={0 | 1}]
[,GCSTART={0 | 1}]
Diagram
, fi
CCKD option=value
where option can be:
COMP= -1
n fl
COMPPARM= -1
n fl
RA= 2
n fl
RAQ= 4
n fl
RAT= 2
n fl
WR= 2
n fl
GCINT= 5
n fl
GCPARM= 0
n fl
NOSTRESS= 0
1 fl
FREEPEND= -1
n fl
FSYNC= 0
1 fl
Page 12
TRACE= 0
n fl
LINUXNULL= 0
1 fl
GCSTART= 0
1 fl
Page 14
Diagram
DEVPRIO 8
nn fl
Page 15
Diagram
, fi
ENGINES CP
nn* fl IL
AP
IP fl
Page 16
Diagram
HTTPROOT path
Page 17
Page 18
[perm_capacity_model] [temp_capacity_model]
Diagram
MODEL EMULATOR
hardware_model fl
capacity_model fl
perm_capacity_model fl
temp_capacity_model fl
DISALLOW fl
Page 20
Page 21
Page 22
Page 23
Page 24
Page 25
-20 to -16
Realtime
-15 to -9
High
-8 to -1
Above Normal
0 to 7
Normal
8 to 15
Below Normal
16 to 20
Low
Thread Priorities
-20 to -16
Time Critical
-15 to -9
Highest
-8 to -1
Above Normal
0 to 7
Normal
8 to 15
Below Normal
16 to 19
Lowest
20
Idle
Page 26
4.
ipaddr
mask fl
ipaddr
mask fl
Note: The device address is ignored for the integrated 3270
(SYSG) console.
Page 27
groupname fl ipaddr
mask fl
MULTIFILE fl EBCDIC
AUTOPAD fl
ASCII
TRUNC fl
Page 28
CLRF fl NOCLEAR fl
NOCLEAR fl
or
devaddr devtype port
host: fl
SOCKDEV
Diagram
devaddr devtype devname
--no-erg fl --blkid-32
--blkid-22 fl
Diagram
devaddr devtype tdf
fi
arguments fl
where arguments are:
MAXSIZE=
MAXSIZEK=
MAXSIZEM=
0
n fl
0
n fl
0 fl
n fl
EOTMARGIN=n
READONLY= 0
1 fl
RO
NORING
RW
RING fl
DEONIRQ= 0
1 fl
NOAUTOMOUNT
Page 30
fi
arguments fl
where arguments are:
MAXSIZE=
MAXSIZEK=
MAXSIZEM=
0
n fl
0
n fl
0 fl
n fl
EOTMARGIN=n
READONLY= 0
1 fl
RO
NORING
RW
RING fl
DEONIRQ= 0
1 fl
NOAUTOMOUNT
Page 31
fi
arguments fl
where arguments are:
AWSTAPE
COMPRESS= 0
1 fl
IDRC= 0
1 fl
METHOD= 1
2 fl
LEVEL= 4
n fl
CHUNKSIZE= 65535
nnnnn fl
Page 32
MAXSIZE=
MAXSIZEK=
MAXSIZEM=
0
n fl
0
n fl
0 fl
n fl
EOTMARGIN=n
READONLY= 0
1 fl
STRICTSIZE= 0
1 fl
RO
NORING
RW
RING fl
DEONIRQ= 0
1 fl
NOAUTOMOUNT
Channel-to-Channel Adapters
CTCI (Channel-to-Channel link to Linux TCP/IP
stack)
Descriptive
-n name fl
--dev fl
guestip hostip
-d
--debug fl
Page 33
guestip hostip
Diagram
devaddr CTCI
-n ipaddr -d
--dev fl macaddr fl --debug fl
-k 1024
nnnn fl
guestip hostip
-i 64
nnnn fl
-o file fl
--oat fl
Page 34
-m macaddr fl guestip fl
--mac fl
-n ipaddr
--dev fl macaddr fl
-o file fl
--oat fl
-m macaddr fl
--mac fl
-k 1024
nnnn fl
-i 64 guestip fl
nnnn fl
Page 35
origin fl numblks fl
SF=shadowfile fl SYNCIO fl
or
devaddr devtype ipname
:3990 fi
SF=shadowfile fl NOSYNCIO
SYNCIO fl
READONLY fl FAKEWRITE fl
CU=type fl
Page 36
or
devaddr devtype ipname
:3990 fi
Default CU Types
Device Type
Default CU Type
2841
3880
3375, 3380
3390
3990
9345
9343
devaddr devtype
DIAL={IN | OUT | INOUT | NO}
LHOST={hostname | ipaddress | *}
LPORT={servicename | port}
RHOST={hostname | ipaddress}
RPORT={servicename | port}
[RTO={0 | -1 | nnn | 3000}]
[PTO={0 | -1 | nnn | 3000}]
[ETO={0 | -1 | nnn | 10000}]
Diagram
devaddr devtype DIAL= IN
OUT
INOUT
NO fl
Page 37
LHOST= *
hostname
ipaddress fl
LPORT= servicename
port fl
RHOST= hostname
ipaddress fl
RPORT= servicename
port fl
RTO= 3000
0
-1
nnn fl
PTO= 3000
0
-1
nnn fl
ETO= 10000
0
-1
nnn fl
Page 38
5.
Command
Description
!message
# or *
.reply
SCP command
aea
aia
ar
archmode
attach
Configure device
auto_scsi_mount
automount
Set breakpoint
b+
Set breakpoint
b-
Delete breakpoint
cache
Cache command
cckd
CCKD command
cd
Change directory
cf
cfall
clocks
Page 39
Command
Description
cmdtgt
conkpalv
cpu
cr
cscript
ctc
define
Rename device
defsym
Define symbol
detach
Remove device
devinit
Reinitialize device
devlist
devtmax
ds
Display subchannel
ecpsvm
ECPS:VM commands
exit
ext
f{+/-} addr
fpc
fpr
gpr
Page 40
Command
Description
hao
help
herc
herclogo
hst
History of commands
iodelay
ipending
ipl
iplc
ldmod
Load a module
loadcore
loadparm
loadtext
log
logopt
lparname
lparnum
lsdep
lsmod
maxrates
Page 41
Command
Description
rate or define new reporting interval
message
mounted_tape_reinit
msg
msghld
msgnoh
ostailor
panrate
pgmtrace
pr
pscp
psw
ptt
pwd
qd
Query DASD
quiet
quit
restart
resume
Resume Hercules
rmmod
Delete a module
Instruction stepping
Page 42
Command
Description
s+
Instruction stepping on
s-
s?
s{+/-} dev
savecore
sclproot
scp
script
scsimount
sf+
sf-
sf=
sfc
sfd
sfk
sh
Shell command
shrd
SHRD command
sizeof
ssd
Signal Shutdown
start
startall
stop
Page 43
Command
Description
stopall
store
suspend
Suspend Hercules
syncio
sysclear
sysreset
Instruction trace
t+
Instruction trace on
t-
t?
t{+/-} CKD
t{+/-} dev
timerint
tlb
toddrag
traceopt
tt32
Disassemble storage
uptime
version
Page 44
6.
Page 45
Diagram
?
command fl
Diagram
ARCHMODE
S/370
ESA/390
ESAME
z/ARCH fl
Page 46
fi
argument fl
NO
YES
n fl
Page 47
B (Set breakpoint)
Descriptive
B {addr | addraddr}
Diagram
B addr
addr-addr fl
B+ (Set breakpoint)
Descriptive
B+ {addr | addraddr}
Diagram
B+ addr
addr-addr fl
B- (Delete breakpoint)
Descriptive
BDiagram
B-
Page 48
GCPARM= 0
n fl
NOSTRESS= 0
1 fl
FREEPEND= -1
n fl
FSYNC= 0
1 fl
TRACE= 0
n fl
LINUXNULL= 0
1 fl
GCSTART= 0
1 fl
CD (Change directory)
Descriptive
CD path
Diagram
CD path
Page 50
Diagram
CFALL
ON
OFF fl
Page 51
Diagram
CPU hh
Page 52
Page 53
DS (Display subchannel)
Descriptive
DS devnum
Diagram
DS devnum
Page 54
ECPSVM
H
ST
DIS
EN
DEBUG
NO
L
nn fl
Page 55
Diagram
FPC
Page 56
HAO CLEAR
Diagram
HAO TGT target
HAO CMD command
HAO LIST
nn fl
HAO DEL nn
HAO CLEAR
Page 57
Page 59
Diagram
0 fi
LOADCORE filename
address fl
Page 60
Diagram
LOGOPT
TIMESTAMP
NOTIMESTAMP
TIME
NOTIME fl
Page 61
Diagram
LSMOD
ALLOW
DISALLOW fl
Page 62
Diagram
MSG parms
Page 63
Page 64
Diagram
PSW
fi
operand=value fl
where operand is one of the following:
SM=xx
PK=nn
CMWP=x
AS= PRI
SEC
HOME fl
CC=n
PM=x
IA=xxxxxxxx
AM= 24
31
64 fl
Page 65
SIGNAL fl IO fl TIMER fl
NOTHREADS fi LOCK fi TOD fi
mmmmm fl
Page 66
QD (Query DASD)
Descriptive
QD [address]
Diagram
QD
address fl
Page 67
Diagram
R addr
addr.length
addr-addr
addr=value fl
S (Instruction stepping)
Descriptive
S [addr-addr | addr:addr | addr.length | 0]
Diagram
S
addr-addr
addr:addr
addr.length
0 fl
Page 68
Page 69
end fl
Page 70
Diagram
SCRIPT filename
fi
filename fl
Page 71
Diagram
SF= device newfile
SH (Shell command)
Descriptive
SH command [arg [arg ... ]]
Diagram
SH command
fi
arg fl
Page 72
Page 73
Diagram
STARTALL
Page 74
T (Instruction trace)
Descriptive
T [addr-addr | addr:addr | addr.length | 0]
Diagram
T
addr-addr
addr:addr
addr.length
0 fl
Page 75
Page 76
Page 77
U (Disassemble storage)
Descriptive
U address [.length]
Diagram
U address
.length fl
Page 78
addr=value}
Diagram
V addr
P addr.length
S addr-addr
H fl addr=value fl
Page 79
7.
Hercules Utilities
DASD Utilities
Utility Name
Function
CCKDCDSK
CCKDCOMP
CCKDDIAG
CCKDSWAP
CKD2CCKD
CCKD2CKD
DASDCAT
DASDCONV
DASDCOPY
DASDINIT
DASDISUP
DASDLOAD
DASDLS
DASDPDSU
DASDSEQ
Page 80
TAPE Utilities
Utility Name
Function
HETGET
HETINIT
HETMAP
HETUPD
TAPECOPY
TAPEMAP
TAPESPLT
Miscellanious Utilities
Utility Name
Function
DMAP2HRC
Page 81
-f
-ro
-f
Page 82
Diagram
CCKDDIAG filename
fi
-option fl
Options
-v (display version info and exit)
-d (display DEVHDR)
-c (display CDEVHDR)
-1 (display L1TAB [l = numeric one])
-g (enable debug output)
-2
-t
-x
Page 83
Diagram
DASDCAT
-i image
SF=shadowfile fl
pdsname/spec:flags fl
Options
-r
Page 84
Options
-v
-h
-q
-r
-z
-bz2
-0
-lfs
-size fl
Options
-v
-z
-bz2
-0
-lfs
Page 85
-a
-r
Options
-z
Control File
The control file is an ASCII text file consisting of a volume
statement followed by one dataset statement for each
dataset to be created.
Page 86
Volume Statement
Descriptive
Diagram
volser devtype
-model fl
cyls
ipltext fl
Dataset Statement
Descriptive
dsname method units pri sec dir dsorg recfm lrecl ...
... blksize keylen
Diagram
dsname method units pri sec dir
dsorg recfm lrecl blksize keylen
Page 87
pdsname
ASCII fl
Page 88
Options
-a
-d
-f
-h
-l
-t
Page 89
Options
-1...9 (compression level (1=fast, 9=best))
-b
-c n
-d
-h
-r
-s
-v
(verbose information)
-z
Page 90
Page 91
8.
Descriptive
:rem_devnum fl COMP=n fl
Page 92
9.
Set Field
Set Field to highlight ("H") and/or protected ("P").
@SF {H | P | HP }
New Line
Force a skip to a new line.
@NL
Align
Specify text alignment.
@ALIGN {NONE | LEFT | RIGHT | CENTER }
Variables
$(VERSION)
The Hercules version.
$(HOSTNAME)
The host name, on which Hercules is running.
$(HOSTOS)
The host operating system.
$(HOSTOSREL)
The release of the host operating system.
$(HOSTOSVER)
The version of the host operating system.
$(HOSTARCH)
The host architecture.
$(HOSTNUMCPUS)
The number of host CPUs. UP (Uniprocessor for one CPU), or
MP=n (Multiprocessor for more than one CPUs).
Page 93
$(CSS)
The logical channel subsystem set or channel set for the
terminal.
$(SUBCHAN)
The subchannel number for the terminal.
$(CCUU), $(ccuu), $(CUU), $(cuu)
Various forms of the device number of the terminal.
Page 94
10.
-b logofile fl -p dyndir fl
fi >logfile fl
-l dynmod fl
-r rcfile fl
Page 95
11.
Key
Action
Esc
Del
Backspace
Insert
Tab
Home
End
Page Up
Page Down
Up arrow
Page 96
Key
Action
Down arrow
Right arrow
Left arrow
Ctrl + Up arrow
Ctrl + Home
Ctrl + End
Key
Action
Alt + Up arrow
Tab
Page 97
Key
Action
Home
End
Page 98
CKD Devices
Devicetype-Model
IBM 2311
IBM 2311-1
Cylinders
Alternate
Cylinders
[*]
200
IBM 2314
[*]
IBM 2314
200
IBM 3330
[*]
IBM 3330-1
404
IBM 3330-2
808
IBM 3330-11
808
IBM 3340
[*]
IBM 3340-1
348
IBM 3340-35
348
IBM 3340-2
696
IBM 3340-70
696
IBM 3350
IBM 3350-1
IBM 3375
IBM 3375-1
IBM 3380
IBM 3380-1
[*]
555
[*]
959
[*]
885
Page 99
Devicetype-Model
Cylinders
Alternate
Cylinders
IBM 3380-A
885
IBM 3380-B
885
IBM 3380-D
885
IBM 3380-J
885
IBM 3380-2
1770
IBM 3380-E
1770
IBM 3380-3
2665
IBM 3380-K
2665
EMC 3380 K+
3339
3993
[*]
IBM 3390-1
1113
IBM 3390-2
2226
IBM 3390-3
3339
IBM 3390-9
10017
IBM 3390-27
32760
IBM 3390-54
65520
IBM 3390
IBM 9345
[*]
IBM 9345-1
1440
IBM 9345-2
2156
Page 100
FBA Devices
Devicetype-Model
IBM 3310
IBM 3310-1
IBM 3370
Blocks
[*]
125664
[*]
IBM 3370-A1
558000
IBM 3370-B1
558000
IBM 3370-A2
712752
IBM 3370-B2
712752
IBM 9313
IBM 9313-1
IBM 9332
[*]
246240
[*]
IBM 9332-200
360036
IBM 9332-400
360036
IBM 9336-600
554800
IBM 9335
IBM 9335-1
IBM 9336
[*]
804714
[*]
IBM 9336-10
920115
IBM 9336-20
1672881
IBM 9336-25
1672881
IBM 0671-08
513072
IBM 0671
574560
IBM 0671-04
624456
Appendix B. Syntax
This book uses two kinds of describing the syntax of configuration statements, console commands and utilities.These are
syntax descriptions and syntax diagrams.
KEYWORDS
variables
{ }
[ ]
Page 102
xxx ,
xxx
required_element
A required element
(keyword or variable)
appears on the main
path.
optional_choice fl
An optional element
(keyword or variable)
appears below the
main path.
Page 103
required_choice_1
required_choice_2
required_choice_3 fl
A required element
(keyword or variable)
with selection. Only
one of the available
options may be specified.
optional_choice_2
optional_choice_3 fl
Optional elements
(keyword or variable)
with selection are
shown below the main
line. Only one of the
available options may
be specified.
PARM= option_1
option_2
option_3 fl
A keyword with
options. Only one of
the available options
may be specified. The
underscored option is
the default if the whole
keyword statement is
not coded.
default_choice_1 fi
optional_choice_1
optional_choice_2 fl
Optional elements
(keyword or variable)
with selection are
shown below the main
line. If one element is
the default, it appears
above the main line.
Only one of the
available options may
be specified. If none of
these elements is
explicitly specified, the
default above the main
line is taken.
fi
optional choice fl
, fi
optional choice fl
This is an optional,
repeatable element.
Specifying several
elements is allowed.
A character within the
arrow path means that
repeated items have
to be separated by
that character. Otherwise the items are
separated by a blank.
Page 104
fi
required element
, fi
required element
This is a required,
repeatable element.
Specifying several
elements is allowed. A
character within the
arrow path means that
repeated items have
to be separated by
that character. Otherwise the items are
separated by a blank.
SEGMENT
Reference to a syntax
segment, which is
described seperately.
SEGMENT= value_1
value 2 fl
KEYWORDS
variables
Page 105
Version 3 Release 07
Reference Summary
z/Architecture Emulator
Hercules Emulator
PPPP
11.1.1.1.1.1
HERS030700-01
Page 106