Skip to content

/AWS1/CL_ATH=>CREATEPREPAREDSTATEMENT()

About CreatePreparedStatement

Creates a prepared statement for use with SQL queries in Athena.

Method Signature

IMPORTING

Required arguments:

IV_STATEMENTNAME TYPE /AWS1/ATHSTATEMENTNAME /AWS1/ATHSTATEMENTNAME

The name of the prepared statement.

IV_WORKGROUP TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

The name of the workgroup to which the prepared statement belongs.

IV_QUERYSTATEMENT TYPE /AWS1/ATHQUERYSTRING /AWS1/ATHQUERYSTRING

The query string for the prepared statement.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/ATHDESCRIPTIONSTRING /AWS1/ATHDESCRIPTIONSTRING

The description of the prepared statement.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHCREPREPAREDSTMTOUT /AWS1/CL_ATHCREPREPAREDSTMTOUT