Jump to content

Cheatsheet/TACL: Difference between revisions

From wikiNonStop
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
== Tacl Cheatsheet==
== Tacl Cheatsheet ==


=== Commands ===
{| class="wikitable" <!--style="white-space: nowrap;"-->
{| class="wikitable" <!--style="white-space: nowrap;"-->
|+ TACL Basic Commands
|+ some often used TACL Commands
|-
|-
! Command
! Command
Line 65: Line 66:
|}
|}


=== Tools ===
{| class="wikitable"
{| class="wikitable"
|+ Basic Tools
|+ Often used Tools
|-
|-
! Command
! Command
Line 88: Line 90:
| '''{{kbd|PERUSE}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| '''{{kbd|PERUSE}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Spooler Interface
| Spooler Interface
|-
| '''{{kbd|SCF}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Subsystem Control Facility
|-
|-
| '''{{kbd|SCUP}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| '''{{kbd|SCUP}}''' || {{n/a}} || {{n/a}} || {{n/a}}
Line 106: Line 111:
| '''{{kbd|VIEWPT}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| '''{{kbd|VIEWPT}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Display logged messages
| Display logged messages
|}


=== Meta Characters ===
{| class="wikitable"
|+ Meta Characters
|-
! Character !! verbal Names ||Description
|-
| * || Example || Example || Any Character(s)
|-
| ? || Example || Example || One Character
|-
| '''{{kbd|<nowiki>==</nowiki>}}''' || Double equal signs || Specifies a comment from the equal signs to EOL
|-
| '''{{kbd|[ ]}}''' || Square brackets || Cause TACL to expand the enclosed text
|-
| '''{{kbd|<nowiki>{ }</nowiki>}}'''|| Pair of braces || Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
|-
| '''{{kbd|<nowiki>| |</nowiki>}}'''|| Pair of vertical lines || Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
|-
| '''{{kbd|<nowiki>~</nowiki>}}''' || Tilde || Changes the interpretation of the next character (or in the case of double equal signs two characters)
|}
|}


=== Separators ===
{| class="wikitable"
|+ Separators
|-
! Character !! verbal Names ||Description
|-
| '''{{key press|space bar}} || Space ||
|-
| '''{{key press|,}} || Comma ||
|-
| '''{{key press|(}}''' || Left Parenthesis ||
|-
| '''{{key press|)}}''' || Right Parenthesis ||
|-
| '''{{key press|/}}''' || Slash ||
|-
| '''{{key press|semicolon}}'''|| Semicolon ||
|-
| '''{{key press|enter}}''' || carriage return || Physical EOL
|-
| '''{{key press|~;}}''' || Tilde || Logical EOL
|-
| '''{{key press|&}} || Ampersand
| An ampersand {{kbd|&}} 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).
|}
<references/>
<references/>
[[Category:Cheatsheets]]

Revision as of 07:57, 2 May 2026

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 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).