ADELIA |
VADELIA |
|
WADELIA |
EADELIA |
(I/B) |
(I/B) (C/S) |
(I/B) (C/S) |
(B) (C/S) |
Section for use
All
Syntax
BEGIN_STD Entity
Entity |
→ |
EntityName | None |
Description
Beginning of the section of instructions that will not be retained during the next Level 2 generation (if any). In other words, all instructions placed outside a BEGIN_STD-type instruction (either BEGIN_STD, or BEGIN_STD_B, or BEGIN_STD_E) and END_STD instructions are retained during Level 2 generation.
In an ADELIA type program, you cannot specify any parameter EntityName.
In a VADELIA type program, if you specify a parameter EntityName for the BEGIN_STD instructions within the INITIALIZATION and VALIDATION sections, Level 2 generation will only integrate the lines relative to the corresponding entity.
Click below for more information on:
Example
IF Z_ITEM_CODE = *BLANK |
: these lines will be retained |
PREPARE_MSG 0022 Z_ITEM_CODE |
: as they are, even after a new |
ERROR |
: Level 2 generation |
END |
: |
* |
: |
BEGIN_STD |
: |
CHAIN ITEM |
: these lines will be deleted |
IF ITEM DOES_NOT_EXIST |
: and replaced when |
PREPARE_MSG 0024 Z_ITEM_CODE |
: a new Level 2 generation |
INIT_MSG Z_ITEM_CODE |
: is requested |
ANOMALY |
: |
END |
: |
END_STD |
: |
* |
: |
IF ITEM_LOCK_CODE = 'L' |
: these lines will be retained |
PREPARE_MSG 0024 Z_ITEM_CODE |
: as they are, even after a new |
ERROR |
: Level 2 generation |
END |
: |