Skip to content

/AWS1/CL_BTCSVCJOBEVALONEXIT

Specifies conditions for when to exit or retry a service job based on the exit status or status reason.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_action TYPE /AWS1/BTCSERVICEJOBRETRYACTION /AWS1/BTCSERVICEJOBRETRYACTION

The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.

iv_onstatusreason TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.


Queryable Attributes

action

The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.

Accessible with the following methods

Method Description
GET_ACTION() Getter for ACTION, with configurable default
ASK_ACTION() Getter for ACTION w/ exceptions if field has no value
HAS_ACTION() Determine if ACTION has a value

onStatusReason

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

Accessible with the following methods

Method Description
GET_ONSTATUSREASON() Getter for ONSTATUSREASON, with configurable default
ASK_ONSTATUSREASON() Getter for ONSTATUSREASON w/ exceptions if field has no valu
HAS_ONSTATUSREASON() Determine if ONSTATUSREASON has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SERVICEJOBEVALONEXITLIST

TYPES TT_SERVICEJOBEVALONEXITLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BTCSVCJOBEVALONEXIT WITH DEFAULT KEY
.