NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
F-33
FUP Command
For more information, see the entry for a specific function.
FUP Command
FUP is an SQLCI command that executes File Utility Program (FUP) commands. FUP
commands perform operations such as creating, purging, and displaying files. (For a
complete description of FUP commands, see the File Utility Program (FUP) Reference
Manual.)
run-option-list
is one or more run options of the TACL RUN command, described in the TACL
Reference Manual. If you do not specify IN in-file or OUT out-file, the
SQLCI IN file and OUT file are used. If the current SQLCI OUT file is a disk file,
you must close the file by entering OUT before you use the FUP command. SQLCI
cannot redirect FUP output to a disk file.
fup-command-line
is a FUP command up to 132 characters long. To continue a command on the next
line, press Return. The SQLCI command continuation prompt (+>) appears.
COUNT Function Counts the rows returned from a query or the distinct values
in a column
CURRENT Function Returns the current date and time
CURRENT_TIMESTAMP
Function
Returns a Julian timestamp for the current date and time
DATEFORMAT Function Formats a date-time value
DAYOFWEEK Function Returns an integer that represents a day of the week
EXTEND Function Adjusts the range of fields for a data-time value
JULIANTIMESTAMP
Function
Converts a date-time value to a Julian timestamp
LINE_NUMBER Function Returns the line number of the current detail line in a report
MAX Function Returns a maximum value for a column or set of values
MIN Function Returns a minimum value for a column or set of values
PAGE_NUMBER
Function
Returns the page number of the current page in a report
SETSCALE Function Specifies the scale of a host variable
SUM Function Computes the sum of a set of numbers
UPSHIFT Function Upshifts single-byte characters
FUP [ /run-option-list/ ] [fup-command-line] ;