Products Downloads


French version


 

 

 

Assignment

None.

 

 

Use

Generation of instructions at the place the rule is invoked.

 

 

Substitution principles

Substitution parameters are always specified using the ":" character followed by a number (01 to 99).

 

 

Example

Testing whether a view exists or not.

 

 

1. Specification of the TST_REC_EXISTS management rule:

PREPARE_MSG MSG0010 :01

CHAIN :02

IF   :02 DOES_NOT_EXIST

ERROR

END

 

2. Call in the program:

INSERT_MR TST_REC_EXISTS (ZCUST_CODE;CUSTOMER)

 

3. Result in the verification list:

**INSERT_MR TST_REC_EXISTS (ZCUST_CODE;CUSTOMER)

PREPARE_MSG MSG0010 ZCUST_CODE

CHAIN CUSTOMER

IF   CUSTOMER DOES_NOT_EXIST

ERROR

END

 

↑ Top of page

  • Aucune étiquette