Skip to content

/AWS1/CL_ATH=>LISTEXECUTORS()

About ListExecutors

Lists, in descending order, the executors that joined a session. Newer executors are listed first; older executors are listed later. The result can be optionally filtered by state.

Method Signature

IMPORTING

Required arguments:

IV_SESSIONID TYPE /AWS1/ATHSESSIONID /AWS1/ATHSESSIONID

The session ID.

Optional arguments:

IV_EXECUTORSTATEFILTER TYPE /AWS1/ATHEXECUTORSTATE /AWS1/ATHEXECUTORSTATE

A filter for a specific executor state. A description of each state follows.

CREATING - The executor is being started, including acquiring resources.

CREATED - The executor has been started.

REGISTERED - The executor has been registered.

TERMINATING - The executor is in the process of shutting down.

TERMINATED - The executor is no longer running.

FAILED - Due to a failure, the executor is no longer running.

IV_MAXRESULTS TYPE /AWS1/ATHMAXLISTEXECUTORSCOUNT /AWS1/ATHMAXLISTEXECUTORSCOUNT

The maximum number of executors to return.

IV_NEXTTOKEN TYPE /AWS1/ATHSESSIONMANAGERTOKEN /AWS1/ATHSESSIONMANAGERTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHLISTEXECUTORSRSP /AWS1/CL_ATHLISTEXECUTORSRSP