Skip to content

/AWS1/CL_ATH=>LISTDATABASES()

About ListDatabases

Lists the databases in the specified data catalog.

Method Signature

IMPORTING

Required arguments:

IV_CATALOGNAME TYPE /AWS1/ATHCATALOGNAMESTRING /AWS1/ATHCATALOGNAMESTRING

The name of the data catalog that contains the databases to return.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/ATHTOKEN /AWS1/ATHTOKEN

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

IV_MAXRESULTS TYPE /AWS1/ATHMAXDATABASESCOUNT /AWS1/ATHMAXDATABASESCOUNT

Specifies the maximum number of results to return.

IV_WORKGROUP TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHLISTDATABASESOUT /AWS1/CL_ATHLISTDATABASESOUT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC