The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Tacl Cheatsheet
Commands
some often used TACL Commands
Command
cmd
PowerShell
Description
!
↑+↵ Enter
↑+↵ Enter
↑+↵ Enter
Reexecute previous command
?
↑
↑
↑
Display previous command
FC
N/A
N/A
N/A
Display previous command for modifying
HISTORY
history
doskey /h
history
Display list of previously issued command lines
ENV
env
env
env
Display environment
EOF!
CTRL+y
env
env
Stop execution of command or tool
EXIT
exit
CTRL+c
CTRL+c
Stop execution of command or tool
FILES
ls
dir /B
ls -Name
List files in current directory
FILEINFO
ls -lisa
dir
ls
List details for files in current directory
HELP
man
help
help
Help
LOGON
logon
logon
logon
Logon
PASSWORD
passwd
passwd
passwd
Set or change password
PMSEARCH
echo "$PATH"
set path
$env:path
Display paths to be searched for executables or macros
SETPROMPT ALL
PS1='\h(\u)\W>'
prompt $p$g
N/A
Set promptline's prefix
STATUS
ps
tasklist
Get-Process
Display status of running processes
STOP
kill
taskkill
Stop-Process
Stop running process
VOLUME
cd
cd
cd
Changes your current volume and/or subvolume
WHO
whoami
whoami
whoami
Display info for user
Tools
Often used Tools
Command
cmd
PowerShell
Description
SYSINFO
cat /etc/*-release
systeminfo
systeminfo
Lists operating system version and some hardware details
EDIT
N/A
N/A
N/A
Text Editor (linemode)
FUP
N/A
N/A
N/A
File Utility Program
PATHCOM
N/A
N/A
N/A
Pathway Command Interface
PERUSE
N/A
N/A
N/A
Spooler Interface
SCF
N/A
N/A
N/A
Subsystem Control Facility
SCUP
N/A
N/A
N/A
Screen Cobol Utility Progrem
SPOOLCOM
N/A
N/A
N/A
Spooler Interface
SQLCI
N/A
N/A
N/A
SQL Command Interface
TEDIT
nano
edit
edit
Text Editor (blockmode)
TMFCOM
N/A
N/A
N/A
TMF Command interface
VIEWPT
N/A
N/A
N/A
Display logged messages
Meta Characters
Meta Characters
Character
verbal Names
Description
*
Example
Example
Any Character(s)
?
Example
Example
One Character
==
Double equal signs
Specifies a comment from the equal signs to EOL
[ ]
Square brackets
Cause TACL to expand the enclosed text
{ }
Pair of braces
Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
| |
Pair of vertical lines
Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
~
Tilde
Changes the interpretation of the next character (or in the case of double equal signs two characters)
Separators
Separators
Character
verbal Names
Description
space bar
Space
,
Comma
(
Left Parenthesis
)
Right Parenthesis
/
Slash
;
Semicolon
↵ Enter
carriage return
Physical EOL
~;
Tilde Semicolon
Logical EOL
&
Ampersand
An ampersand & at the end of a line of TACL commands or function calls signals that the line continues on the next physical line. This continuation applies to executable statements and comments, with two exceptions:
TACL does not interpret data transmitted by a process or file opened using #REQUESTER or #SERVER; any special characters are treated as text. If you receive a line that contains an ampersand, TACL does not view the ampersand as a continuation character.
You cannot use the continuation character with a TACL directive (a line beginning with a question mark).