The IF statement causes a specified condition to be evaluated.The subsequent action of the object program depends on whether the value of the condition is true or false.
statement-1 and statement-2 each represent either an imperative statement or a conditional statement optionally preceded by an imperative statement.
The scope of an IF statement is terminated by any of the following:
IF statements within IF statements may be considered as paired IF and ELSE and END-IF combinations, proceeding from left to right.Thus, any ELSE or END-IF encountered is considered to apply to the most recent preceding IF that has not been already paired with an ELSE or END-IF.
IF Statement Examples
COBOL Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-CICS Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||IBM-JCL Interview Questions|
|DB2 Using SQL Interview Questions||IBM-JCL&VSAM Interview Questions|
|IBM Mainframe Interview Questions||COBOL, CICS, JCL, VSAM, DB2 Interview Questions|
|DB2 SQL Programming Interview Questions||IMS/DB Interview Questions|
|Mainframe DB2 Interview Questions|
Procedure Division Statements
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.