Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Coding conditional expressions

Using the IF and EVALUATE statements, you can code program actions that will be performed depending on the truth value of a conditional expression.

The following are some of the conditions that you can specify:

related concepts
Switches and flags

related tasks
Defining switches and flags
Resetting switches and flags
Checking for incompatible data (numeric class test)
Comparing national (UTF-16) data
Testing for valid DBCS characters

related references
UPSI
General relation conditions (COBOL for Windows Language Reference)
Class condition (COBOL for Windows Language Reference)
Rules for condition-name entries (COBOL for Windows Language Reference)
Sign condition (COBOL for Windows Language Reference)
Combined conditions (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)