/sys$common/syshlp/helplib.hlb
RECALL, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    1.$ RECALL T

      The RECALL command in this example recalls the last command
      entered that begins with the letter T.

    2.$ SHOW DEFAULT
        DISK3:[SMITH]
      $ DIRECTORY SEPT*
        %DIRECT-W-NOFILES, no files found
      $ SET DEFAULT [SMITH.LETTERS]
      $ RECALL/ALL
        1 SET DEFAULT [SMITH.LETTERS]
        2 DIRECTORY SEPT*
        3 SHOW DEFAULT
      $ RECALL 2
      $ DIRECTORY SEPT*
        %DIRECT-W-NOFILES, no files found
      $ RECALL 2
      $ SET DEFAULT [SMITH.LETTERS]
        <edit command line>
      $ SET DEFAULT [SMITH.MEMOS]
      $ RECALL 2
      $ DIRECTORY SEPT*

      This example starts with a SHOW DEFAULT and a DIRECTORY
      command. After not finding the file you want, enter the SET
      DEFAULT command to move to the LETTERS subdirectory. Next use
      the RECALL/ALL command to see the list of commands you have
      entered. Enter the RECALL 2 command to repeat the DIRECTORY
      command in the LETTERS subdirectory. Because you still have
      not found the file you want, enter the RECALL 2 command again
      to recall the SET DEFAULT command. (With the entry of the
      latest DIRECTORY command, SET DEFAULT becomes command 2 in
      the RECALL list.) Edit the command line so that the system
      sets the default to the MEMOS subdirectory. Finally, recall the
      DIRECTORY command to try once more to find the file.

    3.$ TYPE COMMANDS.LIS
      DIRECTORY
      RUN AUTHORIZE
      SET PROCESS/PRIVILEGES=ALL
      $ RECALL/INPUT=COMMANDS.LIS
      $ RECALL/ALL
        1 SET PROCESS/PRIVILEGES=ALL
        2 RUN AUTHORIZE
        3 DIRECTORY
        4 TYPE COMMANDS.LIS

      This example shows the contents of the COMMANDS.LIS file with
      the TYPE command, then uses the RECALL/INPUT=COMMANDS.LIS
      command to place the commands into the recall buffer. Issuing
      the RECALL/ALL command subsequently shows the numbered display
      of commands in the recall buffer.

    4.$ RECALL/OUTPUT=NEW_COMMANDS.LIS
      $ TYPE NEW_COMMANDS.LIS
      TYPE COMMANDS.LIS
      DIRECTORY
      RUN AUTHORIZE
      SET PROCESS/PRIVILEGES=ALL

      This example places the contents of the recall buffer (see
      the previous example) into the NEW_COMMANDS.LIS file. Note
      that they are not numbered and in the reverse sequence of the
      RECALL/ALL command output.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.