Cheatsheet/TACL: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Tacl Cheatsheet== |
== Tacl Cheatsheet == |
||
=== Commands === |
|||
{| class="wikitable" <!--style="white-space: nowrap;"--> |
{| class="wikitable" <!--style="white-space: nowrap;"--> |
||
|+ |
|+ some often used TACL Commands |
||
|- |
|- |
||
! Command |
! Command |
||
| Line 65: | Line 66: | ||
|} |
|} |
||
=== Tools === |
|||
{| class="wikitable" |
{| class="wikitable" |
||
|+ |
|+ 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}} |
|||
| Screen Cobol Utility Progrem |
|||
|- |
|- |
||
| '''{{kbd|SPOOLCOM}}''' || {{n/a}} || {{n/a}} || {{n/a}} |
| '''{{kbd|SPOOLCOM}}''' || {{n/a}} || {{n/a}} || {{n/a}} |
||
| Line 95: | Line 103: | ||
| SQL Command Interface |
| SQL Command Interface |
||
|- |
|- |
||
| '''{{kbd|TEDIT}}''' || {{code|inline=y|nano}} || {{ |
| '''{{kbd|TEDIT}}''' || {{code|inline=y|nano}} || {{code|inline=y|edit}} || {{code|inline=y|edit}} |
||
| Text Editor (blockmode) |
| Text Editor (blockmode) |
||
|- |
|- |
||
| |
| '''{{kbd|TMFCOM}}''' || {{n/a}} || {{n/a}} || {{n/a}} |
||
| TMF Command interface |
|||
|- |
|||
| '''{{kbd|VIEWPT}}''' || {{n/a}} || {{n/a}} || {{n/a}} |
|||
| Display logged messages |
|||
|} |
|} |
||
=== Meta Characters === |
|||
<references/> |
|||
{| 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 Semicolon|| 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). |
|||
|} |
|||
=== Wildcards === |
|||
{| class="wikitable" |
|||
|+ Wildcards |
|||
|- |
|||
! Header text !! Header text !! Header text |
|||
|- |
|||
| '''{{kbd|?}}''' || Matches any single character || Example |
|||
|- |
|||
| '''{{kbd|*}}''' || Matches any number of characters, including none || Example |
|||
|- |
|||
| '''{{kbd|{{=}}*}}''' or '''{{kbd|**}}''' || Matches any number of characters for Definenames || Example |
|||
|} |
|||
=== Operators === |
|||
{| class="wikitable" |
|||
|+ Operators |
|||
|- |
|||
! Op !! Name !! Type |
|||
|- |
|||
| '''{{kbd|NOT}}''' || NOT || Logical |
|||
|- |
|||
| '''{{kbd|AND}}''' || AND || Logical |
|||
|- |
|||
| '''{{kbd|OR}}''' || OR || Logical |
|||
|- |
|||
| '''{{kbd|*}}''' || Multiplication || Arithmetic |
|||
|- |
|||
| '''{{kbd|/}}''' || Division || Arithmetic |
|||
|- |
|||
| '''{{kbd|+}}''' || Addition || Arithmetic |
|||
|- |
|||
| '''{{kbd|-}}''' || Subtraction || Arithmetic |
|||
|- |
|||
| '''{{kbd|>}}''' || Greater then || Arithmetic Comparison |
|||
|- |
|||
| '''{{kbd|<}}''' || Less then || Arithmetic Comparison |
|||
|- |
|||
| '''{{kbd|>{{=}}}}''' || Greater then or Equal || Arithmetic Comparison |
|||
|- |
|||
| '''{{kbd|<{{=}}}}''' || Less then or Equal || Arithmetic Comparison |
|||
|- |
|||
| '''{{kbd|{{=}}}}''' || Equal to || Arithmetic Comparison |
|||
|- |
|||
| '''{{kbd|<>}}''' || Not Equal || Arithmetic Comparison |
|||
|- |
|||
| '''{{kbd|'+'}}''' || Concatenation || String |
|||
|- |
|||
| '''{{kbd|'>'}}''' or {{kbd|'!>'}} || Greater then || String Comparison |
|||
|- |
|||
| '''{{kbd|'<'}}''' or {{kbd|'!<'}} || Less then || String Comparison |
|||
|- |
|||
| '''{{kbd|'>{{=}}'}}''' or {{kbd|'!>{{=}}'}} || Greater then or Equal || String Comparison |
|||
|- |
|||
| '''{{kbd|'<{{=}}'}}''' or {{kbd|'!<{{=}}'}} || Less then or Equal || String Comparison |
|||
|- |
|||
| '''{{kbd|'{{=}}'}}''' or '''{{kbd|'!'}}''' || Equal to || String Comparison |
|||
|- |
|||
| '''{{kbd|'<>'}}''' or '''{{kbd|'!<>'}}''' || Not Equal to || String Comparison |
|||
|} |
|||
==Other Cheatsheets== |
|||
<categorytree mode="pages">Cheatsheets</categorytree> |
|||
<noinclude>[[Category:Cheatsheets]]</noinclude> |
|||