Skip to content

/AWS1/CL_ATH=>LISTCALCULATIONEXECUTIONS()

About ListCalculationExecutions

Lists the calculations that have been submitted to a session in descending order. Newer calculations are listed first; older calculations are listed later.

Method Signature

IMPORTING

Required arguments:

IV_SESSIONID TYPE /AWS1/ATHSESSIONID /AWS1/ATHSESSIONID

The session ID.

Optional arguments:

IV_STATEFILTER TYPE /AWS1/ATHCALCULATIONEXECSTATE /AWS1/ATHCALCULATIONEXECSTATE

A filter for a specific calculation execution state. A description of each state follows.

CREATING - The calculation is in the process of being created.

CREATED - The calculation has been created and is ready to run.

QUEUED - The calculation has been queued for processing.

RUNNING - The calculation is running.

CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

CANCELED - The calculation is no longer running as the result of a cancel request.

COMPLETED - The calculation has completed without error.

FAILED - The calculation failed and is no longer running.

IV_MAXRESULTS TYPE /AWS1/ATHMAXCALCULATIONSCOUNT /AWS1/ATHMAXCALCULATIONSCOUNT

The maximum number of calculation executions 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_ATHLSTCALCULATIONEX01 /AWS1/CL_ATHLSTCALCULATIONEX01