File Utility Programming (FUP) Reference Manual

FUP Commands
File Utility Program (FUP) Reference Manual523323-015
2-85
HELP Examples
HELP Examples
To display the names of all FUP commands, enter HELP ALL (or HELP):
-HELP ALL
To write the syntax for all the FUP commands to the file MYHELP:
-HELP /OUT MYHELP/ ALL,SYNTAX
To display the syntax of the FUP CREATE command:
-HELP CREATE
CREATE filename [ , create param ] ...
create param -- see SET
To display the syntax of the FUP PURGE command:
-HELP PUR
PURGE { [ ! ] fileset [, fileset ] ... [ ! ] }
{ [ ! ] ( fileset [, fileset ] ... )
[, [NO] LISTALL ] [ ! ] }
HISTORY
Displays your previous FUP commands.
OUT listfile
names an existing disk file or a device to receive the listing output from the
HISTORY command. You can use either a standard file name or a spool DEFINE
name as the OUT file name for a HISTORY command. If listfile is an existing
file, FUP appends the output to the file.
num
is the number of previous commands to display.
HISTORY Guidelines
If you omit num, FUP displays the last 10 commands.
If num is greater than the number of commands in the history buffer, FUP displays
all the commands in the buffer.
The HISTORY command display shows line numbers for each command. You can
use line numbers in the FC, !, or ? commands. Line numbers are not displayed
anywhere else in FUP.
HISTORY [ / OUT listfile / ] [ num ]
Note. For more information about listfile, see Specifying Files on page 1-8.