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

Processing…
Success! You're on the list.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.