User Tools

Site Tools


ibm:hercules:userref:console.commands

Table of Contents

Console Command Descriptions

Hercules Console Commands

Command Description
!message SCP priority message
# Silent comment
$locate Display and verify Hercules control blocks
$test Custom test command
$zapcmd Enable or disable system parameters and console commands
* Loud comment
.reply SCP command
? List all commands / command specific help (alias for help)
abs Display or alter absolute storage
aea Display AEA (absolute-effective-address) tables
aia Display AIA (absolute-instruction-addres) fields
ar Display access registers
archlvl Set architecture level
archmode Set architecture mode (alias for ARCHLVL command)
attach Configure device
auto_scsi_mount Automatic SCSI tape mounts (deprecated, use SCSIMOUNT instead)
autoinit Display or set automatic creation of empty tape files
automount Display or update allowable tape automount directories
b Set breakpoint
b+ Set breakpoint
b- Delete breakpoint
cache Execute cache related commands
cachestats Display cache statistics
capping Display or set CPU capping value
cckd CCKD command
cd Change directory
cf Configure current CPU online or offline
cfall Configure all CPUā€™s online or offline
clocks Display TOD clock and CPU timer
cmdlevel Display or set current command group
cmdlvl Alias for cmdlevel command
cmdsep Display or set command line
seperator
cmdtgt Specify the command target
cnslport Display or set telnet client port
codepage Display or set codepage conversion table
conkpalv Display / alter console TCP/IP keep-alive settings
cp_updt Create or modify user character conversion table
cpu Define target CPU for console display and commands
cpuidfmt Display or set format BASIC / 0 / 1 STIDP generation
cpumodel Display or set CPU model number
cpuprio Display or set CPU thread process priority
cpuserial Display or set CPU serial number
cpuverid Display or set CPU version code
cr Display or alter control registers
cscript Cancel a running script thread
ctc Enable / disable CTC debugging
define Rename device
defstore Display or define main and expanded storage values
defsym Define a symbol
delsym Delete a symbol
detach Remove device
devinit Reinitialize device
devlist List device, device class or all devices
devprio Display or set device threads process priority
devtmax Display or set max device threads
diag8cmd Display or set DIAGNOSE 8
command option
dir Display file and directory listing
ds Display subchannel
ecpsvm ECPS:VM commands
engines Set processor engines type
exec Execute a REXX script
exit Terminate the emulator
ext Generate external interrupt
fcb Display current FCB or load new FCB image
fpc Display or alter floating point control register
fpr Display or alter floating point registers
f{+/-} addr Mark frames usable / unusable
g Turn off instruction stepping and start all CPUs
gpr Display or alter general purpose registers
hao Hercules Automatic Operator (HAO)
help List all commands / command specific help
herc Send Hercules command
herclogo Read a new Hercules logo file
hercprio Display or set Hercules process priority
hst History of commands
http Start, stop, modify or display HTTP server
i Generate I/O attention interrupt for device
icount Display individual instruction counts
iodelay Display or set I/O delay value
ipending Display pending interrupts
ipl IPL Normal from device xxxx
iplc IPL Clear from device xxxx (deprecated, use IPL with CLEAR option instead)
k Display CCKD internal trace
kd Clear held messages
ldmod Load a module
legacysenseid Display or set SENSE ID CCW (xā€™E4ā€™) feature
loadcore Load a core image from a file
loadparm Set IPL parameter
loadtext Load a text deck file
log Direct logger output
logopt Display or set logging options
lparname Display or define LPAR name
lparnum Display or set LPAR identification number
ls Display file and directory listing
lsdep List module dependencies
lsmod List dynamic modules
mainsize Display or set main storage size
manufacturer Display or set STSI manufacturer code
maxcpu Display or set maximum number of CPUs
maxrates Display highest MIPS/SIO rate or set a new reporting interval
memlock Lock Hercules memory
message Display message on console like VM
model Display or set STSI model code
modpath Display or set dynamic load module path
mounted_tape_reinit Control tape initialization
msg Display message on console like VM
msghld Display or set timeout value of held messages
msglevel Display or set the current message display output
msglvl Display or set the current message display output (alias for msglevel command)
msgnoh Display message on console like VM, but without header
mt Control magnetic tape operation
numcpu Display or set number of emulated CPUs
numvec Display or set number of vector facilities
ostailor Tailor trace information for specific operating system
panrate Display or set console refresh rate
pantitle Display or set console window title
pgmprdos Set LPP license setting
pgmtrace Trace program interrupts
plant Display or set STSI plant code
pr Display prefix register
pscp Send system control program priority message
psw Display or alter program status word
ptp Enable / disable PTP debugging
ptt Display or set internal trace
pwd Print working directory
qcpuid Display CPU ID
qd Query device information
qpfkeys Display the current PF key setings
qpid Display process ID of Hercules
qports Display TCP/IP ports in use
qproc Display processors type and utilization
qstor Display main and expanded storage values
quiet Toggle automatic refresh of console display data
quit Terminate the emulator
quitmout Dispay or set quit timeout value
r Display or alter real storage
restart Generate restart interrupt
resume Resume Hercules
rexx Display or set REXX interpreter setĀ­tings
rmmod Delete a module
s Instruction stepping
s+ Instruction stepping on
s- Instruction stepping off
s? Instruction stepping query
savecore Save a core image to a file
sclproot Set or display SCLP base directory
scp Send system control program comĀ­mand
scpecho Display or set option to echo to console and history of SCP replies
scpimply Display or set option to pass non-Hercules commands to the SCP
script Run a sequence of console
commands contained in a file
scsimount Automatic SCSI tape mounts
sf+ Create a new shadow file
sf- Delete a shadow file
sfc Compress a shadow file
sfd Display shadow file statistics
sfk Perform a chkdsk on the active shadow file
sh Shell command
shcmdopt Display or set shell command option
showdvol1 Enable showing of DASD volsers in device list
shrd Display or set shared device server trace
shrdport Set shared device server port
sizeof Display size of structures
srvprio Display or set server threads priority
ssd Signal Shutdown
start Start CPU or printer / punch device
startall Start all CPUā€™s
stop Stop CPU or printer / punch device
stopall Stop all CPUā€™s
store Store CPU status at absolute zero
suspend Suspend Hercules
symptom Instruction trace display option (alias for TRACEOPT command)
syncio Display syncio device statistics
sysclear SYSTEM CLEAR RESET manual operation
sysepoch Set base date for TOD clock
sysreset SYSTEM RESET manual operation
s{+/-} dev Turn CCW stepping on / off
t Instruction trace
t+ Instruction trace on
t- Instruction trace off
t? Instruction trace query
timerint Display or set timers update interval
tlb Display TLB tables
toddrag Display or set TOD clock drag factor
todprio Display or set timer thread process priority
traceopt Instruction trace display option
tt32 Control / query CTCI-WIN functionality
tzoffset Set TOD clock offset from GMT
t{+/-} CKD Turn CKD_KEY tracing on / off
t{+/-} dev Turn CCW tracing on / off
u Disassemble storage
uptime Display Hercules Emulator uptime
v Display or alter virtual storage
version Display version information
xpndsize Display or set expanded storage size
yroffset Set TOD clock offset from actual date

!message (SCP priority message)

General Format

  !prio_msg

# (Silent comment)

General Format

  # anytext

$LOCATE (Display and verify Hercules control blocks)

General Format

  $LOCATE controlblock

$TEST (Custom test command)

General Format

  $TEST req_parms [opt_parms]

$ZAPCMD (Enable or disable system paraĀ­meters and console commands)

General Format

  $ZAPCMD cmdname [CFG |
  NOCFG | CMD | NOCMD]

(Loud comment)

General Format

* anytext

.reply (SCP command)

General Format

   
  .any_reply

? (List all commands / command specific help)

General Format

  ? [command | cmd*]

ABS (Display or alter absolute storage)

General Format

  ABS {addr | addr.length | addr-addr | addr=value}

AEA (Display AEA absolute-effective-address tables)

General Format AEA

AIA (List AIA absolute-instruction-address fields)

General Format

  AIA

AR (Display access registers)

General Format

  AR

ARCHLVL (Set architecture level)

General Format

  ARCHLVL [S/370 | ESA/390 | ESAME | z/ARCH]

or

  ARCHLVL {ENABLE | DISABLE} facility[S/370 | ESA/390 | z/ARCH]

or

  ARCHLVL {ENABLE | DISABLE} bitno[S/370 | ESA/390 | z/ARCH]

or

  ARCHLVL QUERY [facility | ALL]

ARCHMODE (Set architecture mode)

  ARCHMODE is
  an alias for the ARCHLVL console command. Please see ARCHLVL for details.

ATTACH (Configure device)

General Format

  ATTACH devn type [argument [argument ... ]]

AUTO_SCSI_MOUNT (Automatic SCSI tape mounts)

  The AUTO_SCSI_MOUNT console command has been deprecated.Use
  ā€œSCSIMOUNTā€ instead.

AUTOINIT (Display or set automatic creation of empty tape files)

General Format

  AUTOINIT
  [ON | OFF]

AUTOMOUNT (Display or update allowable tape automount directories)

General Format

  AUTOMOUNT {ADD directory | DEL directory | LIST}
  AUTOMOUNT [+ | -]directory

B (Set breakpoint)

General Format

  B {addr | addrā€“addr}

B+ (Set breakpoint)

General Format

  B+ {addr | addrā€“addr}

B- (Delete breakpoint)

General Format

  B-

General Format

  CACHE [DASD SYSTEM [ON | OFF]]

CACHESTATS (Display cache statistics)

General Format

  CACHESTATS

CAPPING (Display or set CPU capping value)

General Format

  CAPPING [mips | OFF | 0]  

CCKD (CCKD command)

General Format

CCKD [HELP | STATS | OPTS |

  option=value [,option=value ... ]]
    where option can be:
      [COMP={-1 | n}] 
      [,COMPPARM={-1 | n}][,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}]

CD (Change directory)

General Format

  CDpath

CF (Configure current CPU online or offline)

General Format

  CF [ON | OFF]

CFALL (Configure all CPUs online or offline)

General Format

  CFALL [ON | OFF]

CLOCKS (Display TOD clock and CPU timer)

General Format

CLOCKS

CMDLEVEL (Display or set current command group)

General Format

  CMDLEVEL [{+ | -} {ALL | OPERator | MAINT | 
  PROGrammer | CONFIG | DEVELoper | 
  DEBUG} [...]]

CMDLVL (Display or set current command group)

  CMDLVL is an
  alias for CMDLEVEL. See CMDLEVEL for details.

CMDSEP (Display or set command line seperator)

General Format

  CMDSEP [char | OFF]

CMDTGT (Specify command target)

General Format

  CMDTGT {HERC | SCP | PSCP | ?}

CNSLPORT (Display or set telnet client port)

General Format

  CNSLPORT [port | host:port]

CODEPAGE (Display or set codepage conĀ­version table)

General Format

  CODEPAGE [codepage | USER |
  MAINT cmd [operands]]

CONKPALV (Specifiy TCP/IP keep alive settings)

General Format

CONKPALV (idle,intv,count)

CP_UPDT (Create or modify user character conversion table)

General Format

  CP UPDT command [operands]where command can be:ALTER {EBCDIC | ASCII | G2H | H2G}(pos,val[,pos,val]...)DISPLAY {EBCDIC | ASCII | G2H | H2G }EXPORT {EBCDIC | ASCII | G2H | H2G } filenameIMPORT {EBCDIC | ASCII | G2H | H2G } filenameREFERENCE [codepage]RESETTEST

CPUSERIAL (Display or set CPU serial numĀ­ber)

General Format

  CPUMODEL [serial]

CPUVERID (Display or set CPU version code)

General Format

  CPUVERID [verid]

CR (Display or alter control registers)

General Format

  CR [nn=xxxxxxxx
  | nn=xxxxxxxxxxxxxxxx]

CSCRIPT (Cancel a running script thread)

General Format

  CSCRIPT [* | ALL | id]

CTC (Enable / disable debug packet tracing)

General Format

  CTC DEBUG {ON | OFF} [devnum | ALL]

DEFINE (Rename device)

General Format

  DEFINE olddevice newdevice

DEFSTORE (Display or define main and exĀ­panded storage values)

General Format

  DEFSTORE
      [MAIN [msize[B | K | M | G | T | P | E]
      [UNLOCK | LOCK]]]
      [{XSTOR | EXPANDED} [msize[M | G | T] [UNLOCK | LOCK]]]

General Format

  DEFSYM [symbol   [value]]

DELSYM (Delete a symbol)

General Format

  DELSYM symbol

DETACH (Remove device)

General Format

  DETACH device

DEVINIT (Reinitialize device)

General Format

  DEVINIT devnum
  [argument [argument ... ]]

DEVLIST (List device, device class or all devices)

General Format

  DEVLIST
  [devnum | devclass]  

DEVPRIO (Display or set device threads process priority)

General Format

   
  DEVPRIO [nn]

DEVTMAX (Display or set maximum device threads)

General Format

  DEVTMAX
  [-1 | 0 | 1-n]  

DIAG8CMD (Display or set DIAGNOSE 8 command option)

General Format

  DIAG8CMD [DISABLE | ENABLE [ECHO | NOECHO]]

DIR (Display file and directory listing)

General Format

DIR

DS (Display subchannel)

General Format

   
  DS devnum

ECPSVM (ECPS:VM commands)

General Format

  ECPSVM [Help | STats | DISable | ENable |
  DEBUG | NOdebug | Level [nn]]

ENGINES (Set processor engines type)

General Format

  ENGINES [nn*] {CP | IL | AP |
  IP} [, ... ]

EXEC (Execute a REXX script)

General Format

  EXEC [COMMAND | SUBROUTINE] rexx  [argument [argument ... ]]

EXIT (Terminate the emulator)

General Format

  EXIT [FORCE]

EXT (Generate external interrupt)

General Format

  EXT

FCB (Display current FCB or load new FCB image)

General Format

  FCB devicenum [LPI=lpi] [LPP=lpp][FCB=l1:c1,l2:c2,
  ... ,l11:c11,l12:c12]

FPC (Display or alter floating point control register)

General Format

   
  FPC [xxxxxxxx]

FPR (Display or alter floating point registers)

General Format

  FPR [nn=xxxxxxxxxxxxxxxx]

F{+/-} (Mark frames usable or unusable)

General Format

   
  F{+ | -} addr
  G (Turn off instruction stepping and start all CPUs)

General Format

  G

GPR (Display or alter general purpose registers)

General Format

  GPR [nn=xxxxxxxx | nn=xxxxxxxxxxxxxxxx]

HAO (Hercules Automatic Operator)

General Format

  HAO command [operands]where command can be:TGT targetCMD consolecmdDEL nnCLEAR
   LIST [nn]

HELP (List all commands / command specific help)

General Format

  HELP [command | cmd*]

HERC (Send Hercules command)

General Format

  HERC [cmd]

HERCLOGO (Read a new Hercules logo file)

General Format

  HERCLOGO [filename]

HERCPRIO (Display or set Hercules process priority)

General Format

  HERCPRIO [nn]

HST (History of commands)

General Format

  HST [-1] 
  HST [-]n  HST {L | 0}

HTTP (Start, stop, modify or display HTTP server)

General Format

  HTTP [START | STOP | ROOT path |PORT port {NOAUTH | AUTH userid password}]

I (Generate I/O attention interrupt for device)

General Format

   
  I device

ICOUNT (Display individual instruction counts)

General Format

  ICOUNT [SORT | CLEAR]

IODELAY (Display or set I/O delay value)

General Format

  IODELAY
  [usecs [NOWARN]]  

IPENDING (Display pending interrupts)

General Format

   
  IPENDING 

IPL (IPL Normal from device xxxx)

General Format

  IPL {devnum | filename}[LOADPARM iplparm |
  PARM parmstring]
  [CLEAR]

IPLC (IPL Clear from device xxxx)

The IPLC console command has been deprecated. Use ā€œIPL CLEARā€ instead.

K (Display CCKD internal trace)

General Format

  K

KD (Alias of 'MSGHLD CLEAR')

General Format

KD

LDMOD (Load a module)

General Format

  LMOD module [module [module ...]]

LEGACYSENSEID (Display or set SENSE ID CCW (x'E40) feature)

General Format

  LEGACYSENSEID
  [OFF | DISABLE | ON | ENABLE]

LOADCORE (Load a core image from a file)

General Format

  LOADCORE filename [address | 0]

LOADPARM (Set IPL parameter)

General Format

  LOADPARM [ipl parameter]

LOADTEXT (Load a text deck file)

General Format

  LOADTEXT filename [address]

LOG (Direct logger output)

General Format

  LOG [newfile | OFF]

LOGOPT (Display or set logging options)

General Format

  LOGOPT [TIMESTAMP | NOTIMESTAMP | TIME | NOTIME]

LPARNAME (Display or define LPAR name)

General Format

  LPARNAME [lparname]

LPARNUM (Display or set LPAR identification number)

General Format

  LPARNUM [BASIC | n | nn]

LS (Display file and directory listing)

General Format

  LS

LSDEP (List module dependencies)

General Format

  LSDEP

LSMOD (List dynamic modules)

General Format

  LSMOD

MAXRATES (Display highest MIPS/SIO rate or set new reporting interval)

General Format

MAXRATES [interval | MIDNIGHT]

MEMLOCK (Lock Hercules memory)

General Format

  MEMLOCK
  [ON | OFF]

MESSAGE (Display message on console like VM)

General Format

MESSAGE parms

MODEL (Display or set STSI model code)

Descriptive

  MODEL [hdwmod | =Ā  | * [capmod | =Ā  | *
        [prmmod | =Ā  | * [tmpmod | =Ā  | * ]]]]

MODPATH (Display or set dynamic load module path)

General Format

  MODPATH [path]

MOUNTED_TAPE_REINIT (Control tape initialization)

General Format

  MOUNTED TAPE REINIT [ENABLE | ALLOW |DISABLE | DISALLOW]

MSG (Display message on console like VM)

General Format

  MSG parms

MSGHLD (Display or set timeout of held messages)

General Format

  MSGHLD {nnn | INFO | CLEAR}  

MSGLEVEL (Display or set the current message display output)

General Format

  MSGLEVEL [option option ...]where option can be:
      |ON | OFF | TEXT    |Ā  TIMEĀ  | NODEBUG |
      |[+ | -]  | DEBUG   |
      |[+ | -]  | TAPE    |
      |[+ | -]  | DASD    |
      |[+ | -]  | COMM    |
      |[+ | -]  | UR      |
      |[+ | -]  | SCSI    |
      |[+ | -]  | CTCA    |
      |[+ | -]  | GRAF    |
      |[+ | -]  | THREAD  |
      |[+ | -]  | CHANNEL |
      |[+ | -]  | VERBOSE |
      |[+ | -]  | TERSE

MSGLVL (Display or set the current message display output)

Alias

MSGLVL is an alias for MSGLEVEL.
See MSGLEVEL for details.

MSGNOH (Display message on console like VM, but without header)

General Format

  MSG parms

MT (Control magnetic tape operation)

General Format

  MT  device operation
      where  operation can be:
      REWASF [ nnnn  | 1]
      FSF [ nnnn  | 1]
      BSF [ nnnn  | 1]
      FSR [ nnnn  | 1]
      BSR [ nnnn  | 1]
      WTM [ nnnn  | 1]
      DSE
      DVOL1

NUMCPU (Display or set number of emulated CPUs)

General Format

  NUMCPU [nn]
   

NUMVEC (Display or set number of vector facilities)

General Format

  NUMVEC [nn]

OSTAILOR (Tailor trace information for speĀ­cific operating system)

General Format

  OSTAILOR [[+ | -] z/OS | OS/390 | VM | VSE |
  z/VSE | LINUX | OPENSOLARIS | QUIET | NULL]

PANRATE (Display or set panel refresh rate)

General Format

  PANRATE [SLOW | FAST | rate]

PANTITLE (Hercules console window title)

General Format

  PANTITLE [text | "text text text" | ""]

PGMPRDOS (Set LPP license setting)

General Format

  PGMPRDOS
  {RESTRICTED | LICENSED}

PGMTRACE (Trace program interrupts)

General Format

  PGMTRACE [[-]intcode]

PLANT (Display or set STSI plant code)

General Format

  MANUFACTURER [name]

PR (Display prefix register)

General Format

  PR

PSCP (Send system control program priority message)

General Format

  PSCP [cmd]

PSW (Display or alter program status word)

General Format

   PSW [   operand=value [   operand=value ... ]]
   where operand can be:
   SM=   xx
   PK=   nn
   CMWP=   x
   AS=[PRI | SEC | HOME]
   CC=   n
   PM=   x
   IA=   xxxxxxxx
   AM=[24 | 31 | 64]

PTP (Enable / disable PTP debugging)

Descriptive

  PTP DEBUG {ON | OFF} [[devnum | ALL] [mask]]

PTT (Display or set internal trace)

Descriptive

  PTT [NOERROR | ERROR]
   [NOCONTROL | CONTROL]
   [NOPROG | PROG]
   [NOINTER | INTER]
   [NOSIE | SIE]
   [NOSIGNAL | SIGNAL]
   [NOIO | IO]
   [NOTIMER | TIMER]
   [NOTHREADS | THREADS]
   [NOLOCK | LOCK]
   [NOTOD | TOD]
   [NOLOGGER | LOGGER]
   [NOWRAP | WRAP]
   [TO=nnn] [mmmmm]

PWD (Print working directory)

General Format

  PWD

QCPUID (Display CPU ID)

General Format

QCPUID

QD (Query device information)

General Format

  QD [devnum | devclass]  

QPFKEYS (Display the current PF key setĀ­tings)

General Format

  QPFKEYS

QPID (Display process ID of Hercules)

General Format

   QPID

QPORTS (Display TCP/IP ports in use)

General Format

  QPORTS

QPROC (Display processors type and utiliĀ­zation)

General Format

  QPROC

QSTOR (Query main and expanded storage values)

General Format

  QSTOR

QUIET (Toggle automatic refresh of console display data)

General Format

  QUIET

QUIT (Terminate the emulator)

General Format

  QUIT [FORCE]

QUITMOUT (Display or set quit timeout value)

General Format

  QUITMOUT [nn]

R (Display or alter real storage)

General Format

  R {addr | addr.length | addr-addr | addr=value}

RESTART (Generate restart interrupt)

General Format

  RESTART

RESUME (Resume Hercules)

General Format

  RESUME

REXX (Display or set REXX interpreter setĀ­tings)

General Format

  REXX [   option   ]
  where option can be:
  ENABLE | START [REGINA | OOREXX]
  DISABLE | STOP
  PATHS | REXXPATHS {   path    [   delimiter path ...   ] | RESET}
  SYSPATH {ON | OFF | RESET}
  EXTENSIONS | SUFFIXES {   suffix   [   delimiter suffix ...   ] | RESET}
  RESOLVER {ON | OFF | RESET}
  MSGLEVEL {0 | 1 | RESET}
  MSGPREFIX {   messageprefix    | OFF | RESET}
  ERRPREFIX {   errorprefix    | OFF | RESET}
  MODE {COMMAND | SUBROUTINE}

RMMOD (Delete a module)

General Format

  RMMOD module [module [module ...]]

S (Instruction stepping)

General Format

  S [addr-addr | addr:addr | addr.length | 0]

S+ (Instruction stepping on)

General Format

  S+ [addr-addr | addr:addr | addr.length | 0]

S- (Instruction stepping off)

General Format

  S-

S? (Instruction stepping query)

General Format

  S?

SAVECORE (Save a core image to a file)

General Format

  SAVECORE filename [start | *] [end | *]

SCLPROOT (Set or display SCLP base direcĀ­tory)

General Format

  SCLPROOT [NONE | directory]
   

SCP (Send system control program comĀ­mand)

General Format

  SCP [cmd]

SCPECHO (Display or set option to echo to console and history of SCP replies)

General Format

  SCPECHO [OFF | ON]

SCPIMPLY (Display or set option to pass non-Hercules commands to the SCP)

General Format

  SCPIMPLY [OFF | ON]

6.1 SCRIPT (Run a sequence of commands contained in a file)

General Format

  SCRIPT [filename [filename ... ]]

SCSIMOUNT (Automatic SCSI tape mounts)

General Format

  SCSIMOUNT [NO
  | YES | n]

SF+ (Create a new shadow file)

General Format

  SF+ {device | *}

SF- (Delete a shadow file)

General Format

  SF- {device | *} [MERGE | NOMERGE | FORCE]

SFC (Compress a shadow file)

General Format

  SFC {device | *}

SFD (Display shadow file statistics)

General Format

  SFD {device | *}

SFK (Perform a chkdsk on the active shadow file)

General Format

  SFK {device | *} [n]

SH (Shell command)

General Format

  SH [STARTGUI] command [arg [arg ... ]]

SHCMDOPT (Display or set shell command option)

General Format

  SHCMDOPT [DISABLE | ENABLE [DIAG8 | NODIAG8]]

SHOWDVOL1 (Enable showing of DASD vol-sers in device list)

General Format

  SHOWDVOL1 [NO | YES | ONLY]

SHRD (Display or set shared device server trace)

General Format

  SHRD TRACE[=n]

SHRDPORT (Set shared device server port)

General Format

  SHRDPORT [port | START | STOP]

SIZEOF (Display size of structures)

General Format

  SIZEOF

SRVPRIO (Display or set server threads proĀ­cess priority)

General Format

  SRVPRIO [nn]

SSD (Signal shutdown)

General Format

  SSD [FORCE]

START (Start CPU or printer / punch device)

General Format

  START
  [devicenum]  

STARTALL (Start all CPUs)

General Format

  STARTALL

STOP (Stop CPU or printer / punch device)

General Format

  STOP [devicenum]

STOPALL (Stop all CPUs)

General Format

  STOPALL

STORE (Store CPU status)

General Format

  STORE

SUSPEND (Suspend Hercules)

General Format

  SUSPEND

SYMPTOM (Instruction trace display options)

Alias

SYMPTOM is an alias for the TRACEOPT console command. Please see TRACEOPT for details.

SYNCIO (Display SYNCIO device statistics)

General Format

  SYNCIO

SYSCLEAR (SYSTEM CLEAR RESET manual operation)

General Format

  SYSCLEAR

SYSEPOCH (Set base date for TOD clock)

General Format

  SYSEPOCH {1900 | 1960 | year [+years | -years]}

SYSRESET (SYSTEM RESET manual operation)

General Format

  SYSRESET [NORMAL | CLEAR]

S{+/-} dev (Turn CCW stepping on or off)

General Format

  S{+ | -} devaddr

T (Instruction trace)

General Format

  T [addr-addr | addr:addr | addr.length | 0]

T+ (Instruction trace on)

General Format

  T+ [addr-addr | addr:addr | addr.length | 0]

T- (Instruction trace off)

General Format

  T-

T? (Instruction trace query)

General Format

  T?

T{+/-} CKD (Turn CKD_KEY tracing on or off)

General Format

  T{+ |
  -}CKD

T{+/-} dev (Turn CCW tracing on or off)

General Format

  T{+ | -}devaddr  

TIMERINT (Display or set timers update interval)

General Format

  TIMERINT [interval]
   

TLB (Display TLB tables)

General Format

  TLB

TODDRAG (Display or set TOD clock drag factor)

General Format

  TODDRAG [factor]

TODPRIO (Display or set timer thread process priority)

General Format

  TODPRIO [nn]

TRACEOPT (Instruction trace display options)

General Format

  TRACEOPT
  [TRADITIONAL | REGSFIRST | NOREGS]

TT32 (Control / query CTCI-WIN functionality)

General Format

  TT32 {DEBUG | NODEBUG | STATS devnum}  

TZOFFSET (Set TOD clock offset from GMT)

General Format

  TZOFFSET {0000 | +hhmm | -hhmm}

U (Disassemble storage)

General Format

  U [R | V | P | H] {addr.length | addr-addr}

UPTIME (Display Hercules Emulator uptime)

General Format

  UPTIME

V (Display or alter virtual storage)

General Format

  V [P | S | H] {addr | addr.length | addr-addr | addr=value}

VERSION (Display version information)

General Format

  VERSION

XPNDSIZE (Display or set expanded storage size)

General Format

  XPNDSIZE [size[M | G | T] [UNLOCK | LOCK]]

YROFFSET (Set TOD clock offset from actual date)

General Format

  YROFFSET {+years | -years}
ibm/hercules/userref/console.commands.txt Ā· Last modified: 2023/08/06 13:31 by Site Administrator