Skip to content

/AWS1/CL_ATH=>STARTCALCULATIONEXECUTION()

About StartCalculationExecution

Submits calculations for execution within a session. You can supply the code to run as an inline code block within the request.

The request syntax requires the StartCalculationExecutionRequest$CodeBlock parameter or the CalculationConfiguration$CodeBlock parameter, but not both. Because CalculationConfiguration$CodeBlock is deprecated, use the StartCalculationExecutionRequest$CodeBlock parameter instead.

Method Signature

IMPORTING

Required arguments:

IV_SESSIONID TYPE /AWS1/ATHSESSIONID /AWS1/ATHSESSIONID

The session ID.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/ATHDESCRIPTIONSTRING /AWS1/ATHDESCRIPTIONSTRING

A description of the calculation.

IO_CALCULATIONCONFIGURATION TYPE REF TO /AWS1/CL_ATHCALCULATIONCONF /AWS1/CL_ATHCALCULATIONCONF

Contains configuration information for the calculation.

IV_CODEBLOCK TYPE /AWS1/ATHCODEBLOCK /AWS1/ATHCODEBLOCK

A string that contains the code of the calculation. Use this parameter instead of CalculationConfiguration$CodeBlock, which is deprecated.

IV_CLIENTREQUESTTOKEN TYPE /AWS1/ATHIDEMPOTENCYTOKEN /AWS1/ATHIDEMPOTENCYTOKEN

A unique case-sensitive string used to ensure the request to create the calculation is idempotent (executes only once). If another StartCalculationExecutionRequest is received, the same response is returned and another calculation is not created. If a parameter has changed, an error is returned.

This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHSTRTCALCULATIONE01 /AWS1/CL_ATHSTRTCALCULATIONE01