CIS 3741 Mainframe Commands mainframe-commands.doc
Bodnovich
Spring 2003
at YSU Loggo:
Logon <your account number> - to sign onto your CMS account
Logon <your account number> here - to sign onto your CMS account when it is
already connected to another address
in CMS:
Xedit <file name> <file type> - to edit a file
Submit <file name> <file type> - to compile and execute a batch job
LOGoff - to sign off of your CMS account
M <account number> <message> - to send a message to another user
FLIST - to list all files on your 'a' disk
FLIST * * B - to list all files on your 'b' disk
RLIST - to list output files in your virtual reader
SUBMIT <fn> <ft> <fm> - sends the named CMS file to batch
in XEDIT (typed in command area to the right of ====> ):
FILE - exits editor and saves changes
QUIT - exits editor
QQuit - exits editor without saving changes
SAVE - saves changes without exiting editor
JCLGET <language> - imbeds JCL into file for named language
JCLGET COBOL - imbeds JCL for compiling a COBOL program
ROUTE - imbeds JCL for routing your output back to
your virtual reader
SEND - exits editor and saves changes; then submits
a batch job for comilation and execution
GET <fn> <ft> <fm> - imbeds the named CMS file after current line
TOP - positions editor to top of file
Bot - positions editor to bottom of file
Next <nn> - moves editor <nn> lines toward bottom
of file
Next - moves editor 1 line toward bottom of
file
Up <nn> - moves editor <nn> lines toward top of file
Up - moves editor 1 line toward top of file
BA <nn> - moves editor <nn> pages toward the top of file
BA - moves editor 1 page toward the top of file
FO <nn> - moves editor <nn> pages toward the bottom of
file
FO - moves editor 1 page toward the bottom of file
<pf 7> - moves editor 1 page toward the top of file
<pf 8> - moves editor 1 page toward the bottom of file
in XEDIT (prefix or suffix commands - typed overtop of ===== ):
/ - make this the current line
A<nn> - insert <nn> blank lines starting here
A - insert 1 blank line
D<nn> - delete <nn> lines starting here
D - delete only this line
I<nn> - insert <nn> blank lines starting here
I - insert 1 blank line
C<nn> - copy <nn> lines (used with P or F)
M<nn> - move <nn> lines (used with P or F)
F - insert moved or copied lines following this line
P - insert moved or copied lines before this line
DD - delete block of lines in which the first and last
line of the block are marked DD (used with P or F)
CC - copy block of lines in which the first and last lines
of the block are marked CC (used with P or F)
MM - move block of lines in which the first and last lines
of the block are marked MM (used with P or F)