written by roblthegreat
This document is designed to be a quick reference guide of the more commonly used MVS console commands. This guide targets MVS 3.8J TK4- users, though most would apply to any version of MVS.
NOTE
All commands listed here are prefixed with
/which is required if the commands are entered from the Hercules console. If you are using an alternate console, you must omit the/.
/cancel u={userid}
/v {dev_id},offline
/s dealloc
/v {dev_id},online
/m {dev_id},vol=(sl,{vol_ser}),USE={use_class}
A DASD volume is always mounted with one of the following use attributes:
Class Use PRIVATENew datasets will be created only if the volume serial is specified PUBLICMVS may place a temporary dataset on this volume, if volume serial is not specified. STORAGEMVS places permanent datasets on this volume if the user did not supply a volume serial
/d u,dasd,online
/d u,dasd
The first command stops JES2 and the second re-starts it with a COLD start request. This will remove anything in JES2 spool.
/$pjes2
/$sjes2,parm='COLD,NOREQ'
/$PJ1-9999
/$PT1-9999
/$PS1-9999
/$d n,all
/$d j1-9999
/$d s1-9999
/$d t1-9999
/v net,inact,id=cuu{terminal_address}
/v net,act,id=cuu{terminal_address}
/S RAKFUSER
/S RAKPROF
FTPD is disabled by default.
/START FTPD,SRVPORT={port_num}
{port_num} is the TCP port that will be bound
/c ftpd