Set all MTYP_PARAMETER Object field values to null. If a field value is null then it is not passed to a step; This function always returns “”.
| Return-type : | java.lang.String |
|---|---|
| Returns: | Always returns a blank string “”. |
Immediately commits the current Object Values into the output buffer and increments the output_row_count++; This function always returns “”.
| Return-type : | java.lang.String |
|---|---|
| Returns: | Always returns a blank string “”. |
Execute an AdapLink Model Type Processing Group under a model type. The call is non-blocking and returns immediately once the new process starts.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.String |
| Returns: | Always returns a blank string “”. |
Example:
=EXECUTE_PROCESSING_GROUP("GROUP1", "*", "BOOLEAN", "MYMODEL", "My Job")
Execute an AdapLink MTYP step, with an optional step title. Returns Boolean TRUE upon success, else Boolean FALSE.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Boolean |
| Returns: | Boolean TRUE upon success, else Boolean FALSE. |
Example:
=EXECUTE_STEP("STEPID", "a custom title")
Immediately executes the family with the given family name. This function always returns “”.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.String |
| Returns: | Always returns a blank string “”. |
Warning
Never use FAMILY_EXEC to form a loop as it will lead to stack overflow. For looping always use FAMILY_NEXT.
Example:
=FAMILY_EXEC(familyName2)
Add the family with the given familyName on TOP of the current execution stack. Once the current family exits the family on the top of the execution stack is run. Calling it multiple times within the same family just pushes the specified families on to the stack and will be executed in LIFO (Last in first out) order once the current family exits. This function can be safely used to form loops. This function always returns “”.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.String |
| Returns: | Always returns a blank string “”. |
Example:
=FAMILY_NEXT(familyName2)
Forces continuation of rules in the same family. The default behavior is when a criteria is met, all rules following it in the same family are skipped. The FORCE_CONTINUE function allows overriding this behavior. This function always returns “”.
| Return-type : | java.lang.String |
|---|---|
| Returns: | Always returns a blank string “”. |
Example: An example showing a single family containing multiple execution steps with the use of FORCE_CONTINUE
Rule Family:
Rule Family: Full_Load ( Smoothie full load example )
Rule Header:
Rule: INIT
RuleLHS: --EMPTY--
RuleRHS:
T_SUCCESS = =True
= =FORCE_CONTINUE()
Rule: Delete all staging data
RuleLHS:
10: T_SUCCESS EQ (=True, )
RuleRHS:
LOG_SYS_TRG = SAP_STAGE
TABLES_TO_DEL = *
T_SUCCESS = =EXECUTE_STEP("600")
= =FORCE_CONTINUE()
Rule: Delete all ALDH data
RuleLHS:
10: T_SUCCESS EQ (=True, )
RuleRHS:
LOG_SYS_TRG = LOG_ALDH
TABLES_TO_DEL = mat_header&loc_header&cons_header&mat_location&mat_factor&mat_loc_cons&model_mat_loc_cons&qty_staging
T_SUCCESS = =EXECUTE_STEP("610")
= =FORCE_CONTINUE()
This function returns the number of iterations that has been performed by the LOOP-AT functionality under a rule family.
| Return-type : | java.lang.Integer |
|---|---|
| Returns: | The number of iterations that has been performed by the LOOP-AT functionality under a rule family. |
A function that returns the current input row count as Integer.
| Return-type : | java.lang.Integer |
|---|---|
| Returns: | The current input row count as Integer. |
Returns whether the SET_BREAK_LOOPAT_ON is called as Boolean.
| Return-type : | java.lang.Integer |
|---|---|
| Returns: | True if the SET_BREAK_LOOPAT_ON is called otherwise False. |
Returns the last execution error or info message of EXECUTE_STEP().
| Arguments: |
|
|---|---|
| Return-type : | java.lang.String |
| Returns: | The last EXECUTE_STEP() execution error / info message. |
Returns true if the last EXECUTE_STEP() execution was success, else false.
| Arguments: |
|
|---|---|
| Return-type : | java.lang.Boolean |
| Returns : | Returns true if the last EXECUTE_STEP() execution was success, else false. |
A function that returns the current output row count as Integer.
| Return-type : | java.lang.Integer |
|---|---|
| Returns: | The current output row count as Integer. |
A function that breaks the LOOPAT at the current iteration. When this function is called the current iteration will continue to be executed but the next iteration of LOOPAT will not be performed.
| Return-type : | java.lang.String |
|---|---|
| Returns: | Always returns a blank string “”. |