Package Options and Defaults

DESCRIPTION:

Stores presistent options and defaults for sjdbc package functions.

USAGE:

sjdbcOptions(...)

ARGUMENTS:

...
you can provide no arguments, you can provide a list or vector of character strings as the only argument, or you can provide arguments in name=value form. See the VALUE and SIDE EFFECTS sections for more information.

VALUE:

The sjdbcOptions function always returns a list, even if the list is of length 1.
o
If no arguments are given, sjdbcOptions returns a list of current values for all options.
o
If a character vector is given as the only argument, sjdbcOptions returns a list of current values for the options named in the character vector.
o
If an object of mode "list" is given as the only argument, its components become the values for options with the corresponding names. The function returns a list of the option values before they were modified. Usually, the list given as an argument is the return value of a previous call to sjdbcOptions.
o
If arguments are given in name=value form, sjdbcOptions changes the values of the specified options and returns a list of the option values before they were modified.

normal-bracket28bracket-normal

EXAMPLES:

# set a single option
sjdbcOptions(driverClass="COM.ibm.db2.jdbc.net.DB2Driver")

# set multiple options
sjdbcOptions(driverClass="COM.ibm.db2.jdbc.net.DB2Driver", 
            con="jdbc:db2://qadb1:6789/QATESTDB", 
            user="testqa", 
            password="testqa")