Skip to content

/AWS1/CL_S3_RECORDEXPIRATION

The journal table record expiration settings for a journal table in an S3 Metadata configuration.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_expiration TYPE /AWS1/S3_EXPIRATIONSTATE /AWS1/S3_EXPIRATIONSTATE

Specifies whether journal table record expiration is enabled or disabled.

Optional arguments:

iv_days TYPE /AWS1/S3_RECORDEXPIRATIONDAYS /AWS1/S3_RECORDEXPIRATIONDAYS

If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.


Queryable Attributes

Expiration

Specifies whether journal table record expiration is enabled or disabled.

Accessible with the following methods

Method Description
GET_EXPIRATION() Getter for EXPIRATION, with configurable default
ASK_EXPIRATION() Getter for EXPIRATION w/ exceptions if field has no value
HAS_EXPIRATION() Determine if EXPIRATION has a value

Days

If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.

Accessible with the following methods

Method Description
GET_DAYS() Getter for DAYS, with configurable default
ASK_DAYS() Getter for DAYS w/ exceptions if field has no value
HAS_DAYS() Determine if DAYS has a value