Hercules
Windows Setup
(click on the link above to see)
Operator Commands
- R 1,WARM,NOREQ (not able to convince the machine to do cold start, yet)
- R 2,’RETRY’
- S SHUTDWN – initiate shutdown
- $P JES2,ABEND – close JES2
- R n,END
- QUIESCE
- V 1D5,OFFLINE – disconnect device from system
- V 1D5,ONLINE – connect device to system
- K N,PFK=(5,CMD=’VARY TCPIP,TCPIP,OBEYFILE,DSN=CENTER.PARMLIB(TCPPROF)’),CON=N
– define PF5 key to refresh TCPIP configuration - V TCPIP,,OBEYFILE,DSN=CENTER.PARMLIB(D530A)
- $D SPOOL – display status of spool volunes
- $D SPOOLDEF – display JES2 spool info
- D IPLINFO – display IPL info
- D CONSOLES – list operator consoles
- V 361,CONSOLE – make 361 operator console
- V 360,MSTCONS – make 360 master console
- selected oper commands
- another doc about commands
Hercules Commands
- DETACH 0470 – detach device
- ATTACH 0470 3270 – attach terminal
- ATTACH 0312 3390 ‘filename’ – dynamically attach disk
XFER
- pre-allocate flat-dataset RECFM=FB,LRECL=80,BLKSIZE=3120
- XMIT node.id DA(‘dataset‘) OUTDATASET(‘flat-dataset‘)
- transfer binary
- RECEIVE INDATASET(‘flat-dataset‘)
- when asked, type:
DA(‘new-dataset‘)
Directory
cd /home/tomek/Desktop/Hercules/emulate
Add disk
- cd /home/tomek/Desktop/Hercules/systems/zOSWORK
- dasdinit -bz2 TOMEK1.CCKD.M9.USER.bz2 3390-9 TOMEK1
- add unit to config file:
030F 3390 ../systems/zOSWORK/TOMEK1.CCKD.M9.USER.bz2 - restart Hercules
- oper console:
V 30f,offline - modify …MVS.JCL(DFSINIT) and submit
- oper console:
r n,U
v 30f,online - do something so that the disk belongs to a storage group to ensure one can allocate datasets on it – not sure how to do it (yet)
- cd /home/tomasz/Desktop/Mainframe/systems/zOSWORK
- dasdinit -bz2 TOMEK1.CCKD.M9.USER.bz2 3390 TOMEK1
- while Hercules is running, on Hercules console type:
attach 313 3390 TOMEK1.CCKD.M9.USER.bz2 - modify …MVS.JCL(DFSINIT) and submit
- oper console:
r n,U
v 313,online - add unit to config file to be used when Hercules is restarted next time:
0313 3390 ../systems/zOSWORK/TOMEK1.CCKD.M9.USER.bz2
Details
Password-protected directions are here.
Network Setup (?)
- V TCPIP,,STOP,CTCDEV1
- V TCPIP,,OBEYFILE,DSN=[…].PARMLIB(D530A)
- V TCPIP,,START,CTCDEV2
I have no idea whether/why I have to do it.
DB2
login as DBAUSER
@STA DB2 – oper console – start DB2
DSN SYSTEM(DSNA) – ISPF option 6
P;B;1 – admin tools
P;B;Q – QMF
CICS
S CICSTOR1 – oper – start CICS (TOR)
S CICSAOR1 – oper – start CICS (AOR)
Transactions
CRTE SYSID=C22A – route to AOR
CRTE SYSID=C21T – route to TOR
CEMT P SHUT
MQ
MQM1 START QMGR
S NVAS – start NetView Access Services
Spool Setup
- add a disk DMTCAx (see instructions above).
Make sure that the disk is not managed by system (no STORAGEGRP on initialization parms) - create DSN=SYS1.HASPACE,DISP=(NEW,KEEP),UNIT=3390,VOL=SER=DMTCAx,SPACE=(CYL,(3000),,CONTIG)
- SYS1.HASPACE is not going to be cataloged
- On oper console:
- $D SPL
- $S SPL(DMTCAx)
- After SYS1.HASPACE is formated by the system:
$D SPL - $T SPOOLDEF,TGSPACE=(MAX=30000)
- Enjoy low percentage of spool utilization