Adding functions to an existing section in the file – PB Docs 126

Adding functions to an existing section in the file

If sections for your back-end DBMS already exist in PBODB126.INI,
use the following procedure to add new functions.

proc.png To add functions to an existing section in PBODB126.INI:

  1. Open PBODB126.INI in
    one of the following ways:

    • Use
      the File Editor in PowerBuilder. (For instructions, see the Users Guide.)

    • Use any text editor outside PowerBuilder.

  2. Locate
    the entry for your back-end DBMS in the DBMS Driver/DBMS Settings
    section of PBODB126.INI.

    For example, here is thePBODB126.INI entry
    for SQL Anywhere:

  3. Find the name of the section in PBODB126.INI that
    contains function information for your back-end DBMS.

    To find this section, look for a line similar to the following
    in the DBMS Driver/DBMS Settings entry:

    For example, the following line in the DBMS Driver/DBMS
    Settings entry for SQL Anywhere indicates that the name of the Functions
    section is ASA_FUNCTIONS:

  4. Find the Functions section for your back-end DBMS
    in PBODB126.INI.

    For example, here is the Functions section for SQL Anywhere:

  5. To add a new function, type a comma followed by
    the function name at the end of the appropriate function list, as
    follows:

    • Aggregate
      functions

      Add aggregate functions to the end of the AggrFuncs list.

    • All other functions

      Add all other functions to the end of the Functions list.

    note.png Case sensitivity

    If the back-end DBMS you are using is case-sensitive, be sure
    to use the required case when you add the function name.

    The following example shows a new function for SQL Anywhere
    added at the end of the Functions list:

  6. Save your changes to PBODB126.INI.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x