Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Set and change attribute of a connection.

Parameters
  1. Attribute to change.
  2. New attribute value
Attributes and their valid values
  • profound.SQL_ATTR_AUTOCOMMIT
    • profound.SQL_TRUE
    • profound.SQL_FALSE

  • profound.SQL_ATTR_INFO_USERID
    • JavaScript string

  • profound.SQL_ATTR_DATE_FMT
    • profound.SQL_FMT_ISO
    • profound.SQL_FMT_USA
    • profound.SQL_FMT_EUR
    • profound.SQL_FMT_JIS
    • profound.SQL_FMT_MDY
    • profound.SQL_FMT_DMY
    • profound.SQL_FMT_JUL
    • profound.SQL_FMT_JOB

Return Value

None.

Exception Handling

If there is a problem creating the data area, an Error will be thrown with the following properties:

  • message - The IBM i message text.
  • error - The message id.
  • help - The message help text.
  • No labels