Products Downloads


French version


 


ADELIA

VADELIA

SADELIA

WADELIA

EADELIA

(I/B)

(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(B) (C/S)


Section for use

All


Syntax

IF VarId1 CONTAINS VarId2OrConstant


Description

This instruction is a logical operator and can only be used in a condition.


The length of the variable VarId2 or of the constant must be less than or equal to the length of the variable VarId1.


The two operands situated on either side of this instruction must be of the same type.


Warning: Blank characters at the end of fields are not taken into account.


Example

IF   CUST_TO_SELECT CONTAINS '?'

CALL CUSTOMER_WINDOW Z_CUST_CODE Z_CUST_NAME

END


↑ Top of page

  • Aucune étiquette