Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## get-DB-Name function

> Get the database name out of the database information string returned by the get-complete-dbname-list procedure, get-dbname-list procedure, and `src/auditing/_get-db-list.p`.

> Returns: `CHARACTER`

> Parameters:

> `INPUT pcDbInfo AS CHARACTER`

> Database information string.

> Example:

>     Define variable cList as char.
>     Define variable cdbInfo as char.
>     Define variable iLoop as int.
>     Define variable cTemp as char.
>     {auditing/include/_aud-utils.i}
>     Run get-dbname-list IN hAuditUtils (output cList).
>     DO iLoop = 1 TO NUM-ENTRIES(cList, CHR(1)):
>                ASSIGN cdbInfo = ENTRY(iLoop, cList, CHR(1))
>                              cTemp = DYNAMIC-FUNCTION('get-DB-Name'
>     IN  hAuditUtils, cdbInfo).
>     End.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095