RUN, DEB for DEBUG, ...). MTS commands and most command options are case-insensitive. MTS has "one-shot" commands (CREATE, FILESTATUS, SIGNOFF, ...) and commands that have sub-command modes (EDIT, CALC, SYSTEMSTATUS, ...). Most commands with sub-command modes can also be invoked as one-shot commands by giving one or more sub-commands on the command line. All MTS jobs start with a SIGNON command and most end with a SIGNOFF command. Commands may be stored in files and executed using the SOURCE command. Commands may be stored in signon-files (sigfiles) or project-signon-files (projectsigfiles) that are always executed immediately after the SIGNON command. The execution of sigfiles may be required (SIGFILEATTN=OFF) or optional (SIGFILEATTN=ON, the default). Global control SIGNON { ccid | * } [ option ... ] [ comment ] SIGNOFF [ SHORT | $ | LONG ] [ RECEIPTS | NORECEIPTS ] ACCOUNTING [ option ... ] ACCOUNTING MANAGEMENT COMMENT [ text ] DISPLAY item [ OUTPUT=FDname ] SET option ... SINK [ FDname | PREVIOUS ] SOURCE [ FDname | PREVIOUS ] SYSTEMSTATUS [ option ] #CLS FDname [ options ] (privileged command that runs a test CLS) File management CREATE filename [ SIZE={ n | nP } ] [MAXSIZE={n | nP} ] [TYPE={LINE | SEQ | SEQWL} ] DESTROY filelist [ OK | ALLOK | PROMPT ] DUPLICATE oldname [ AS | TO ] newname [ options ] [ OK | ALLOK | PROMPT ] EDIT [ filename ] [ :edit-command ] EMPTY [ filelist ] [ OK | ALLOK | PROMPT ] TRUNCATE filelist [ ALLOK | PROMPT ] RENAME oldname [ AS ] newname [ OK | ALLOK | PROMPT ] RENUMBER filelist [ first [ last [ begin [ increment ] ] ] ] [ ALLOK | PROMPT ] FILESTATUS [ filelist ] [ format ] [ items ] FILEMENU [ filelist ] [ items ] FMENU [ filelist ] [ items ] PERMIT filelist [ access [ accessor ] ] PERMIT filelist LIKE filelist2 [ EXCEPT access [ accessor ] ] LOCK filename [ how ] [ WAIT | NOWAIT ] [ QUIT | NOQUIT ] UNLOCK filename LOCKSTATUS [ filename | JOB nnnnnn ] [ LOCK ] [ WAIT ] LSTATUS [ filename | JOB nnnnnn ] [ LOCK ] [ WAIT ] File and device management COPY [ FROM ] { FDlist1 | 'string' } [ [ TO ] [ FDlist2 ] CREATE *pdn*