How to Give Complex Conditions in COBOL IF Logic

Below are selected examples of how to use conditions in IF. Here is COBOL Evaluate Awesome Ideas.

Top IF Conditions in COBOL

Example:-1

IF (FIELDA NOT > 55 AND NOT < 10)

Example:-2

IF (FIELDA < 10 AND > 55)

Example:-3

IF (FIELDA = 10 OR 15 OR 20 OR 25)

Example:-4

IF (FIELDA NOT = 10 AND 15 AND 20 AND 25)

Recent Posts

Discover more from Srinimf

Subscribe now to keep reading and get access to the full archive.

Continue reading