Products Downloads


French version


 


ADELIA

VADELIA

      

WADELIA

EADELIA

(I/B)

(I/B) (C/S)


(I/B) (C/S)

(B) (C/S)


Section for use

All


Syntax

INSERT_STD Entity


Entity

EntityName | None


Description

The INSERT_STD instruction defines the position of a block of instructions automatically generated by Level 2 generation.

In Level 2, the INSERT_STD instruction is replaced with a block of instructions within the BEGIN_STD and END_STD instructions.


In an ADELIA type program, you cannot specify a parameter EntityName.


If in a VADELIA type program you specify a parameter EntityName for the INSERT_STD instruction in the INITIALIZATION and VALIDATION sections, the Level 2 generation will only insert the lines relative to the corresponding entity.


Click below for more information on:


Example

Before Level 2 generation (e.g. from a program template):


IF     Z_ITEM_CODE = *BLANK

: these lines will be retained

PREPARE_MSG 0022 Z_ITEM_CODE

: as they are, even after

ERROR

: a new Level 2

END

: generation

*


INSERT_STD


*


IF     ITEM_LOCK_CODE = 'L'

: these lines will be retained

PREPARE_MSG 0024 Z_ITEM_CODE

: as they are, even after

ERROR

: a new Level 2

END

: generation



After Level 2 generation:


IF     Z_ITEM_CODE = *BLANK

: these lines will be retained

PREPARE_MSG 0022 Z_ITEM_CODE

: as they are, even after

ERROR

: a new Level 2

END

: generation

*


BEGIN_STD

:

CHAIN ITEM

: these lines are produced by

IF     ITEM DOES_NOT_EXIST

: the management rules generated

PREPARE_MSG 0024 Z_ITEM_CODE

: by the "Level 2 generation"

INIT_MSG Z_ITEM_CODE

: procedure

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

ERROR

: a new Level 2

END

: generation

↑ Top of page

  • Aucune étiquette