This topic provides a categorized listing of many of the TCL commands.
Command categories include:
TCL administrative commands | Lists and describes the TCL administrative commands. |
TCL macros | Lists and describes the TCL macros. |
TCL Spooler commands | Lists and describes the TCL spooler related commands. |
TCL tape device commands | Lists and describes the TCL tape device related commands. |
TCL UNIX commands | Lists and describes the TCL UNIX commands. |
TCL Windows-specific commands | Lists and describes the TCL Windows specific commands. |
Administrative commands include:
admin utility | Contains systems administration functions and must be invoked from the dm account. |
admin.files utility | Used for data backup and restore. |
admin.maint utility | Used for creating and maintaining users and accounts. |
admin.status utility | Provides information on the users that are logged on to the system as well as reporting the status of the system lock table. |
admin.tape utility | Contains options to list the devices as well as commands to set up tape devices for usage. |
admin.tape.setup utility | Assigns the various tape devices for use. |
:reset-async command | Resets the current port or all ports to default values. |
:scroll command | Displays the output of a TCL command in a scrollable (text) window. |
TCL macros include:
account-coldstart macro | Performs any account specific coldstart processes and allows users to define their own custom sequence of activities to perform each time the system is powered on or rebooted. |
break-key-off macro | Disables the BREAK key on the current port. |
break-key-on macro | Enables the BREAK key on the current port. |
cal macro | Executes the UNIX cal command. |
check-account macro | Performs a dummy save of an account by issuing the save command with the f, d, and i options. |
check-files macro | Performs a dummy save of the entire system. |
clear-basic-locks macro | Displays and clears all 992 BASIC execution locks. |
dm macro | Issues an exec abs command each time a user logs on to the dm account. |
exec-stacking-off macro | Disables nested executes to be performed in an atomic manner. |
exec-stacking-on macro | Enables nested executes to be performed in an atomic manner. |
ldf macro | Lists the summary description (attribute 17) of each attribute-defining item in the specified file. |
lerrs macro | Performs a series of reports from the dm,errors, file. |
lfd macro | Produces a sorted listing of all file-defining items in the specified file, along with the description attribute from each file pointer. |
lfs macro | Contains the AQL sentence which uses the dm,file-of-files file. |
lfsb macro | Same as the lfsi macro except that the i-fms column becomes index-fms. |
lfsi macro | Same as the lfs macro except that the bytes column becomes i-bytes and the frames column becomes i-fms. |
list-abs macro | Produces a report of each D3 mode in the dm,abs, file, showing any modes it calls and those modes which are called. |
list-commands macro | Produces a report showing every executable command in the specified master dictionary (md); this includes: Procs, macros, menus, cataloged FlashBASIC programs (BASIC commands) and D3 commands. |
list-errors macro | Produces a sorted report of the error messages logged into the dm,errors, file, beginning with the most recently logged message. |
list-jobs macro | Produces a report indicating the status of all phantom controlled processes currently in the dm,jobs, file. |
list-lists macro | Produces a sorted report of all previously saved lists in the pointer-file file. |
list-macros macro | Produces a sorted report of all items defined as macros in the specified account name or your local MD (if md is specified). |
list-menus macro | Produces a sorted listing of all items defined as menus in the specified master dictionary. |
list-pibs macro | Produces a report of each active port in the dm,pibs, file, showing the port number, the current user of that port and the current terminal/printer characteristics as defined by the term-type command. |
list-resizing macro | Lists the status of files currently being resized from the dm,resizing file. |
list-runtime-errors macro | Produces a sorted report of error conditions logged into the dm,runtime-errors, file. |
list-system-errors macro | Produces a sorted report of error conditions logged into the dm,errors, file. |
log-clear-file-off macro | Turns off the logging of the clear-file command. |
log-clear-file-on macro | Turns on the logging of the clear-file command. |
modem-off macro | Invokes the xonoff command and passes it an f option. |
modem-on macro | Invokes the xonoff command and passes it an n option. |
net-status macro | Displays statistics on local network usage. |
ntlfs macro | Contains the AQL sentence which uses the dm,FileOfFiles file. |
shell-variable-off macro | Disables shell variable replacement from TCL. |
shell-variable-on macro | Enables shell variable replacement from TCL. |
system-coldstart macro | Executes system initialization commands. |
user-coldstart macro | Performs the last step of the coldstart process and is the place where users can customize their own sequence of activities to perform each time the system is powered on or rebooted. |
user-shutdown macro | Called by the shutdown command as the first procedure in shutting down the machine. |
wherebt macro | Invokes the wheres command with the bt parameter. |
whered macro | Invokes the wheres command with the db parameter. |
whereindx macro | Invokes the wheres command with the indx parameter. |
wherelk macro | Invokes the wheres command with the lk parameter. |
whereovf macro | Invokes the wheres command with ovf parameter. |
wherepu macro | Invokes the wheres command with the pu parameter. |
wheresp macro | Invokes the wheres command with the sp parameter. |
wheret macro | Invokes the wheres command with the tp parameter. |
whobt macro | Invokes the wheres command with the bt parameter. |
whod macro | Invokes the wheres command with the db parameter. |
whoindx macro | Invokes the wheres command with the indx parameter. |
wholk macro | Invokes the wheres command with the lk parameter. |
whopu macro | Invokes the wheres command with the pu parameter. |
whosp macro | Invokes the wheres command with the sp parameter. |
whot macro | Displays the wheres information with the tp parameter. |
whovf macro | Invokes the wheres command with the ov parameter. |
xcs-off macro | Disables the extended character set function on a specified port, or the current port if omitted. |
xcs-on macro | Enables the extended character set function on a specified port, or the current port if omitted. |
Spooler related commands include:
assignfq (UNIX) command | Assigns a printer device driver to a spooler form queue. |
assignfq (Windows) command | Assigns a printer device driver to a spooler form queue. |
listabs command | Displays the current spooler assignment parameters for each process on the system. |
listpeqs command | Displays the status of all spooler controlled print job elements. |
listptr command | Displays the printer control block status for all printers. |
pr-spool-job command | Respools a spooler hold job. |
printronix command | Sets the vertical form length unit (VFU) for Printronix printers only. |
shp-kill command | Terminates a D3 printer shared with UNIX and all the associated processes. |
shp-status command | Displays status information about printers shared with UNIX, started by the startshp command. |
sp-assign command | Displays, changes or resets the current spooler output assignment options for the current process/user. |
sp-close command | Closes all current spooler entries previously opened by the current line with an sp-open command or an o option in conjunction with an sp-assign command. |
sp-edit command | Accesses existing spooler entries for processing or deletion. |
sp-kill command | Stops spooler entry output or removes printers and shared printers. |
sp-open command | Leaves the next spooler entry generated by the current process open upon completion of the output generating process. |
sp-status command | Displays the status of all spooler-controlled devices. |
sp-tapeout command | Retrieves (inputs) reports previously spooled to magnetic media and directs output to the spooler. |
startptr command | Activates and initializes up to 2048 printers. |
startshp command | Starts a shared printer under UNIX. |
startspooler command | Kills all printers associated with the spooler, then initializes the spooler and returns it to normal operation. |
stopptr command | Stops the specified printer at the end of the current print job. |
Tape device related commands include:
account-restore command | Restores an account from an account-save, file-save, or md-save magnetic media or pseudo tape. |
account-save command | Saves individual accounts to the currently attached peripheral storage device. |
chg-device command | Changes a tape device. |
dev-make command (UNIX) | Adds an entity to the system. |
dev-make command (Windows) | Creates devices connected to the VME. |
dev-remov command | Removes a specific device from the system. |
file-save command | Invokes the procedure to perform a full backup of each file in the D3 file system. |
:files command | Restores the entire file system from file-save media. |
list-device command | Displays the currently defined devices. |
restore-accounts command | Restores all accounts that do not already exist on the system from the attached file-save tape or a tape created by an account-save with an active list of accounts. |
s-dump command | Writes items from a given file to the attached peripheral storage device in sorted order. |
save command | Invokes the backup procedure to save the entire file system, an individual account, or to perform an incremental save. |
sel-restore command | Selectively restores items from either a file-save, account-save, incremental save, or transaction log media to a specific file. |
set-8mm command | Sets the 8mm data cartridge as the tape device, by invoking the set-device command and passing in the argument 8mm and an i option. |
set-def-tape-blk command | Sets the default block size for a tape device. |
set-device command | Attaches the SCT, floppy disk, half-inch, or special devices. |
set-floppy command | Attaches the first floppy (in the list-device listing) drive to the current process for subsequent input or output activity. |
set-half command | Attaches the 1/2-inch tape drive to the current process for subsequent input or output activity. |
set-sct command | Attaches the SCT drive to the current process. |
t-act command | Selects a previously attached tape device as the currently active device to read and write to. |
t-att command | Attaches the tape unit or floppy disk drive to the current process unit and optionally assigns the block size to the tape I/O buffer. |
t-bck command | Backspaces the tape to the end of the previous file or a specified number of blocks. |
t-bsf command | Backspaces a given number of files. |
t-bsr command | Backspaces a given number of records. |
t-cascade command | Cascades or links one tape device to another tape device, either in a chain or a loop. |
t-chk command | Checks a tape for parity errors. |
t-copy command | Copies data from one device to another. |
t-det command | Detaches the tape from the current process, or from another process. |
t-dump command | Copies items from a given file to the attached peripheral storage device. |
t-fsf command | Forwards a tape a given number of files. |
t-fsr command | Forwards a tape a given number of records. |
t-fwd command | Moves the attached media forward to the next file, or moves the tape forward a specified number of blocks. |
t-link command | Links or cascades one tape device to another tape device, either in a chain or a loop. |
t-load command | Restores files from a tape that was generated by t-dump. |
t-rdlbl command | Reads the label from the attached magnetic media and initializes the internal label storage area. |
t-read command | Reads from the magnetic media unit attached to the current process and displays the contents of each block read to the terminal or printer. |
t-rew command | Rewinds the attached media to the beginning, or load point on the tape. |
t-select command | Attaches a tape device to the current process, but we recommend using the set-device TCL command. |
t-space command | Moves the attached media forward a specified number of files, displaying each tape label as it is encountered. |
t-unload command | Rewinds the attached tape. |
t-verify command | Validates the integrity of file-save or account-save backups. |
t-weof command | Writes an EOF mark at the current position on the attached magnetic media. |
t-wtlbl command | Writes a Pick-format (80-byte) tape label at the current position on the attached magnetic media. |
UNIX TCL commands include:
addbi command | Extends the functionality of the D3 monitor by making new C functions available to FlashBASIC. |
environ command | Manipulates the UNIX shell environment variables from TCL. |
export command | Exports D3 items to UNIX files. |
listbi command | Lists the built-in c functions in the item UNIX.builtin, c.builtin (MS-DOS) and user.builtin located in the dm,messages, file. |
rmbi command | Removes one or more functions from the list of UNIX or C built-in functions. |
unix command | Invokes the sh command, to push a shell, and then automatically returns to D3 on completion. |
The commands in this topic are for Windows users only. Windows commands include:
D3Tcl command (Windows)
Note: This command is not actually run from TCL.
|
Connects a remote VME with a TCL command from MS-DOS. |
ntlfs macro | Contains the AQL sentence which uses the dm,FileOfFiles file. |
%getperfcount() function | Obtains information about loaded C DLLs. |
nt_cload command | Loads a C DLL. |
nt_cunload command | Unloads a C DLL. |
nt_dllinfo command | Obtains information about loaded DLLs. |
nt_dllload command | Loads a DLL. |
nt_dllunload command | Unloads a DLL. |
nt_eventlog command | Displays or clears the Windows application or system event log. |
nt_file-info command | Displays file information for a specified file. |
nt_getfsiaccount command | Returns the current FSI account getting logged onto. |
nt_heapwalk command | Walks the ’heap’ of the given line and display the results in a human readable form. |
nt_inv-flash command | Removes a flashed program object in cache and loads the new flash program object. |
nt_iotrace command | Captures the i/o activity for a process id. |
nt_listclients command | Lists the active clients on the system. |
nt_list-jobs command | Lists server jobs running on the server since rebooting. |
nt_list-resizing command | Lists the files being resized and the files that have been resized. |
nt_makefof command | Creates the entry in the FileOfFiles. |
nt_migrateacc command | Migrates an account from the VME to the FSI. |
nt_name command | Obtains network information. |
nt_osfi_start command | Starts the OSFI server. |
nt_osfi_stop command | Stops the OSFI server. |
nt_pinfo command | Obtains and displays information about processes (threads). |
nt_rel-tcp command | Releases memory and closes tcp. |
nt_resize command | Starts the FSI file resizing process. |
nt_resize-menu command | Demonstrates the functionality of the four FSI utilities supplied by Rocket. |
nt_restart_odbc | Stops or restarts the ODBC server. |
nt_telnetdisc command | Inquires/sets/resets the Telnet disconnect feature. |
nt_upgrade command | Upgrades any d3 dataset with current changes. |
onneterror command | Can be called from the FSI when a network error occurs during FlashBASIC file I/Os. This allows users to break out of the error and customize the subroutine. |