CONSOLE COMMAND LANGUAGE (CCL) INTERNAL COMMAND SET 20-APR-81 General command format: COMMANDfield1field2 Symbol conventions: [ ] - denotes optional input - denotes carriage return - denotes space filespec - a valid RSX file specification filespecs - optional string of file specifications separated by commas. CCL Command Description ? Command format: text? Requests help from system help files as directed by "text". Equivalent to the MCR command:: HELP text. TYPE or LIST Short command format: TYPE filespecs Long command format: TYPE File(s) ? filespecs Types the indicated files on the user's terminal. Equivalent to the MCR command: PIP TI:=filespecs. Abbreviation: TYP or LIS. PRINT Short command format: PRINT filespecs Long command format: PRINT File(s) ? filespecs Prints the specified files on the line printer provided queue manager's command line interpreter task ...PRI is not installed. Equivalent to the MCR command: PIP LP:=filespecs. Abbreviation: PRI. TRUNCATE Short command format: TRUNCATE filespecs Long command format: TRUNCATE File(s) ? filespecs Truncates the specified files to their last used block, recovering allocated but unused blocks from the file. User should note the two numbers in the last line of a directory listing which indicate USED/ALLOCATED blocks for the files listed. Equivalent to the MCR command: PIP filespecs/TR. Abbreviation: TRU. UNLOCK or Short command format: UNLOCK filespecs CLOSE Long command format: UNLOCK File(s) ? filespecs Unlocks (closes) a file which was improperly closed due to an aborted operation. Equivalent to the MCR command: PIP filespecs/UN. Abbreviation: UNL or CLO. PROTECT Short command format: PROTECT filespec rwed,rwed,rwed,rwed Long command format: PROTECT File ? filespec System access rights (RWED,default=D)? Owner access rights (RWED) ? rwed Group access rights (RWED) ? rwed World access rights (RWED) ? rwed Alters the protection status of the specified file for the catagories: System, Owner, Group, and World. Access rights denoted by: R = read access, W = write access, E = extend access, D = delete access. Presence of the letter grants the corresponding access. The system always claims delete access (D). Equivalent to the MCR command: PIP filespec/PR/SY:rwed/OW:rwed/GR:rwed/WO:rwed. Abbreviation: PR. RENAME Short command format: RENAME in-filespecs out-filespec Long command format: RENAME From ? in-filespecs To ? out-filespec Renames the input files to the specfied output file specification. Equivalent to the MCR command: PIP out-filespec/RE/NV=in-filespecs. Abbreviation: REN. COPY Short command format: COPY in-filespecs out-filespec Long command format: COPY From ? in-filespecs To ? out-filespec Copies the input files to the specified output file. Equivalent to the MCR command: PIP out-filespec/FO/NV=in- filespecs. Abbreviation: COP. MERGE Short command format: MERGE in-filespecs out-filespecs Long command format: MERGE From ? in-filespecs To ? out-filespec Merges the input files into the output file specified. Equivalent to the MCR command: PIP out-filespec=in- filespecs/ME. Abbreviation: MER. FILEX or Command format identical to FLX syntax. FLX Runs the file transfer utility FLX. Equivalent to MCR command: FLX. MACRO Command format identical to MAC syntax. Runs the MACRO-11 assembler, BIGMAC. Equivalent to the MCR command: MAC. Abbreviation: MAC. ASSEMBLE Short command format: ASSEMBLE filespec Long command format: ASSEMBLE File ? filespec Assembles the specified MACRO-11 source file, producing both an object module and a listing file. Note: do not include a ".ext" field in filespec, default = .MAC. Equiva- lent to the MCR command: MAC filespec.OBJ;1,filespec.LST;1/-SP= filespec.MAC. Abbreviation: AS . FORTRAN Command format identical to FOR syntax. Runs the FORTRAN IV compiler. Equivalent to the MCR command: FOR. Abbreviation: FOR. COMPILE Short command format: COMPILE filespec Long command format: COMPILE File ? filespec Compiles the specified FORTRAN IV source file, producing both an object module and a listing file. Note: do not include a ".ext" field in filespec, default = .FTN. Equiva- lent to the MCR command: FOR filespec.OBJ;1,filespec.LST;1/-SP= filespec.FTN. Abbreviation: COMPI. TKB Command format identical to TKB syntax. Runs the RSX11-M task builder, BIGTKB. Equivalent to the MCR command: TKB. BUILD or Short command format: BUILD filespecs LINK Long command format: BUILD Program ? filespec Subroutine(s) ? [filespecs] Builds a task (running program) from the specified object modules, giving the task image the name of the first file specified. Note: do not include a ".ext" field in filespec, default = .OBJ. For example, to build a program TEST with sub- routines SUB1, SUB2, and SUB3, enter command BUILD TEST,SUB1, SUB2,SUB3. The running version of TEST will be contained in the file TEST.TSK. Equivalent to the MCR command: TKB file1.TSK;1=filespecs. Abbreviation: BUI or LIN. LBR Command format identical to LBR syntax. Runs the librarian utility, LBR. Equivalent to the MCR command: LBR. CMP Command format identical to CMP syntax. Runs the file comparison utility, CMP. Equivalent to the MCR command: CMP. COMPARE or Short command format: COMPARE in-filespecs[ out-filespec] DIFFERENCES Long command format: COMPARE File 1 ? in-filespec File 2 ? in-filespec Output ? [out-filespec] Compares two input source files (e.g. FORTRAN program files), and creates an output file (optional) listing all the differences between the two files. If not specified, output is directed to the user's terminal. Equivalent to the MCR command CMP out-filespec=in-filespecs. Abbreviation: COMPA or DIFF. DMP Command format identical to DMP syntax. Runs the file dump utility, DMP. Equivalent to the MCR command: DMP. DUMP Short command format: DUMP in-filespecs[ out-filespec] Long command format: DUMP File(s) ? in-filespecs To ? [out-filespec] Dumps the contents of a file (in octal) to the specified output file. If the output file specification is left out, the dump will be directed to the user's terminal. Equivalent to the MCR command: DMP out-filespec=in-filespecs. Abbreviation: DUM. SLP Command format identical to SLP syntax. Runs the source language input program, SLP. Equivalent to MCR command: SLP. PATCH Command format identical to PAT syntax. Runs the object file patch utility, PAT. Equivalent to the MCR command: PAT. ZAP Command format identical to ZAP syntax. Runs the task image patch program, ZAP. Equivalent to the MCR command: ZAP. RNO Command format identical to RNO syntax. Runs the text file processor, RUNOFF. Equivalent to the MCR command: RNO. DOCUMENT Short command format: DOCUMENT in-filespec out-filespec Long command format: DOCUMENT Input file ? in-filespec Output file ? out-filespec Submits the input file to RUNOFF for text processing. See RUNOFF manual for valid RNO directives to be included in the text file. If output file specification is left out, output is directed to the user's terminal. Equivalent to the MCR command: RNO out-filespec/-SP=in-filespec. Abbreviation: DOC. FMT Short command format: FMT dev:[/sw] Long command format: FMT Device ? dev:[/sw] Where: dev: - valid RSX device specification /sw - optional switch value (e.g. /DENS=DOUBLE) Formats the specified device. Normally only used to initialize a flexible diskette (floppy) for double density operation, include the "/DENS=DOUBLE" switch with the device specification. Equivalent MCR command: FMT dev:[/sw]/VE. BAD Short command format: BAD dev:[/sw] Long command format: BAD Device ? dev:[/sw] Where: definitions same as for FMT above. Runs the bad block locator utility on the specified device. Normally only used in connection with initializing a flexible diskette for use in the system. Equivalent to the MCR command: BAD dev:[/sw]/LI. VFY Command format identical to VFY syntax. Runs the disk volume verification utility, VFY. Equivalent to the MCR command: VFY. WHO Command format: WHO Lists the terminal # (e.g. TT6:) and account # (e.g. [20,3]) of all logged in users. Equivalent to the MCR command: DEV /LOG. WHAT Command format: WHAT Lists all active tasks in system on the user's terminal. Equivalent to the MCR command: ACT /ALL. Abbreviation: WHA. SEND Short command format: SEND TTn: message Long command format: SEND To (TTn:) ? TTn: Message ? message Where n = terminal number (0-77) Sends a message to the specified terminal. Equivalent to the MCR command: BRO TTn:message. NEWPASSWORD or Command format: NEWPASSWORD or ACNT ACNT Allows a non-privileged user to change their password, or a privileged user to run the system accounting task. Note: the system accounting task ACNT must be installed. Equivalent to the MCR command: RUN ACNT. Abbreviation: NEWP. FREE Command format: FREE[ dev:] Displays the number of free blocks on the specified device (dev:) on the user's terminal. If dev: is not specified, FREE scans the current user's system device, SY:. Equivalent to the MCR command: PIP dev:/FR. FRAGMENT Command format: FRAGMENT[ dev:] Displays disk fragmentation statistics for the specified device (dev:) on the user's terminal. If dev: is not specified, FRAGMENT scans the user's current system device, SY:. Abbreviation: FRAG. SYSUIC Command format: SYSUIC Displays the current system's default UIC (user identification code). Equivalent to the MCR command: SET /SYSUIC. Abbreviation: SYS. UIC Command format: UIC[ ggg,mmm] or UIC[ ggg mmm] Where: ggg - 1 to 3 digit octal group # mmm - 1 to 3 digit octal member # Displays, if group and member #'s not specified, or changes, if group and member #'s are specified, the user's current default UIC. Equivalent to the MCR command: SET /UIC and SET /UIC=[g,m]. POOL Command format: POOL Displays current status of system POOL. Equivalent to the MCR command: SET /POOL. UFD Privileged command. Short command format: UFD dev:[g,m] Long command format: UFD DEV:[UFD] ? dev:[g,m] Where: dev: - valid Files-11 device specification [g,m] - group and member #'s for UFD, [ ] required syntax Creates a User File Directory on the specified device. Equivalent to the MCR command: UFD dev:[g,m]. BRU Privileged command. Command format identical to BRU syntax. Runs the backup and restore utility, BRU. Equivalent to the MCR command: BRU. DSC Command format identical to DSC syntax. Runs the disk save and compress utility, DSC. Equivalent to the MCR command: DSC. ACS Privileged command. Command format: ACS[ dev:][=n] Where: dev: - valid RSX mounted Files-11 device n - number of blocks to allocate. Allocates system checkpoint space on the designated device. If the device specification is not specified, ACS will be directed to the system device, SY:. If the # blocks to allocate is not specified, 0 blocks will be allocated, inactivating any currently defined checkpoint file on the device. Equivalent to the MCR command: ACS dev:/BLKS=n. VMR Privileged command. Command format identical to VMR syntax. Runs the virtual monitor console routine, VMR. Equivalent to the MCR command: VMR. LOAD Privileged command. Short command format: LOAD driver Long command format: LOAD Driver ? driver Loads the specified nonresident loadable driver into memory. Equivalent to the MCR command: LOA. UNLOAD Privileged command. Short command format: UNLOAD driver Long command format: UNLOAD Driver ? driver Removes a loadable device driver from memory. Equivalent to the MCR command: UNL. BOOT Privileged command. Command format identical to BOO syntax. Bootstraps a system that exists as a task image file on a Files-11 volume. Equivalent to the MCR command: BOO. SAVE Privileged command. Command format identical to SAV syntax. Copies the current system image into the system image file from which the current system was booted. Equivalent to the MCR command: SAV. ERRLOG or Privileged command. ERL Command format identical to ERL syntax. Installs and runs the error logging task, ERL. Equivalent to the MCR commands: INS $ERL, RUN ERRLOG. ERROFF or Privileged command. ERF Command format identical to ERF syntax. Runs the error logging termination task, ERF. Stops and removes error logging task ERRLOG. Equivalent to the MCR command: ERF. PSE Command format identical to PSE syntax. Runs the error log formating routine PSE. Equivalent to the MCR command: PSE. SYE Command format identical to SYE syntax. Runs the error log report genereation routine SYE. Equivalent to the MCR command: SYE. SHUTUP Privileged command. Command format: SHUTUP Runs the system shutdown task SHUTUP. Equivalent to the MCR command: RUN $SHUTUP/TASK=SHUTUP. RMDEMO Privileged command. Command format: RMDEMO Runs the system activity display task, RMDEMO. Equivalent to the MCR command: RUN $RMD. Abbreviation: RMD.