CL Tricks: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(More)
(De-whichified)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Some stuff which makes it easier to work directly with commands in CL:
Some stuff that makes it easier to work directly with commands in CL…


* Typing just the first (probably easy guessable) part of a command, followed by an asterisk (<code>*</code>) and pressing <code>Enter</code> makes the system present a list of all available commands with an accompanying short explanation. Type a <code>1</code> into the corresponding line and and press <code>Enter</code> to invoke that command.
== Wildcards ==
* Pressing <code>F4</code> instead of <code> Enter </code> to send a command opens up a form for completing the command options.
Typing just the first (probably easy guessable) part of a command, followed by an asterisk (<code>*</code>) and pressing <code>Enter</code> makes the system present a list of all available commands with an accompanying short explanation. Type a <code>1</code> into the corresponding line and and press <code>Enter</code> to invoke that command.
 
== Multiply Expanded Help Facility ==
* Press <code>F4</code> instead of <code>Enter</code> to execute a command opens up a form for completing the command options.
** Pressing <code>F4</code> while the cursor is at a specific position opens up another panel with a brief description of available choices.
** Pressing <code>F4</code> while the cursor is at a specific position opens up another panel with a brief description of available choices.
** Pressing <code>F1</code> while the cursor is at a specific position opens up a help text for that particular option.
** Pressing <code>F1</code> while the cursor is at a specific position opens up a help text for that particular option. This also is true for the secondary F4-invoked screen.
*** Pressing <code>F20</code> (<code>Shift-F8</code>) zooms the help text window over the complete screen.
*** Pressing <code>F20</code> (<code>Shift-F8</code>) zooms the help text window over the complete screen.
* To learn how the command will be actually called after filling out the corresponding form, press <code>F14</code> (<code>Shift-F2</code>).
 
* Default options for commands can be changed with <code>chgcmddft</code>.
To learn how the command will be actually called after filling out the corresponding form, press <code>F14</code> (<code>Shift-F2</code>). Pressing <code>Enter</code> will '''not''' execute the command but take you one step back to the former screen.
* To learn the keywords along the displayed form, press <code>F11</code>.
 
Default options for commands can be changed with <code>chgcmddft</code>.
 
To learn the keywords along the displayed form, press <code>F11</code>.


[[Category: Basic Knowledge]]
[[Category: Basic Knowledge]]

Latest revision as of 22:55, 12 March 2020

Some stuff that makes it easier to work directly with commands in CL…

Wildcards

Typing just the first (probably easy guessable) part of a command, followed by an asterisk (*) and pressing Enter makes the system present a list of all available commands with an accompanying short explanation. Type a 1 into the corresponding line and and press Enter to invoke that command.

Multiply Expanded Help Facility

  • Press F4 instead of Enter to execute a command opens up a form for completing the command options.
    • Pressing F4 while the cursor is at a specific position opens up another panel with a brief description of available choices.
    • Pressing F1 while the cursor is at a specific position opens up a help text for that particular option. This also is true for the secondary F4-invoked screen.
      • Pressing F20 (Shift-F8) zooms the help text window over the complete screen.

To learn how the command will be actually called after filling out the corresponding form, press F14 (Shift-F2). Pressing Enter will not execute the command but take you one step back to the former screen.

Default options for commands can be changed with chgcmddft.

To learn the keywords along the displayed form, press F11.