is

"It depends on what your definition of "is" is.
-- William Jefferson Clinton


Download is-1.2.2.tar.gz now!

Sybase Usage

is [-U username] [-P password] 
   [-i input] [-o output] [-e] 
   [-w width] [-d database]
   [-A progname] [-S server]
   [-D symbol=value]
   [-C] [-x]
-C Examine the environment variable HTTP_COOKIE. Modifies the meaning of -U, -P and -S. If -C is supplied, the arguments to -U, -P, and -S can be the names of other environment variables to use for username, password, and server.
-H Turns-on HTML wrapping of table data.
-x Turns-on XML wrapping of table data.

Commands

!!                       re-execute last sql command
!-x                      load the the sql from x'th command in the past
!x                       load the x'th command into the sql buffer
!sqlcmd                  load the most recently typed sql command like 'sqlcmd%'
:h                       print sql command history (first line only)
:H                       print sql command history (all lines)
:sdate dtdays            print the sybase date of the scalar dtdays
:define [symbol=[value|<<]]   list [or define] new symbols, or from input
:printf [format]         optional c-like format for printf - %s only
:prompt 'string'         set is prompt, Sybase default '$SERVER:$DB $BATCH.$LINE> '
:> filename              select output goes to filename
:>                       reset output to stdout, close previous output file
:r filename              read 'filename' into sql buffer
:rp [dbname|.] pageno    dbreadpage() dbname's pageno
:< filename              input becomes filename until EOF(filename)
:| command [args [..]]   pipe select output to 'command'
:set headers [on|off]    toggles the printing of headers for select statements
:set retstatus [on|off]  toggles the printing of procedure return statistics
:set rowcount [on|off]   toggles the printing of (x rows affected)
:setopt DBPRLINELEN [n]  automatically adjust output width or set to n chars
:!                       escapes to shell
:!system_command         execute a system command under Bourne shell
:?                       display HELP about is

CHANGES TO "GO"

The 'go' command's syntax has been augmented to allow:
    1> go every 10 secs
meaning the current command will be executed every 
10 seconds.  ^C stops the iterations.  The keywords
"every" and "secs" are only place holders, so:
"go e 10 s" is as valid as the former.


What's new?