English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

You use the IF . . . END-IF to do conditionals ion COBOL. They look something like this:

IF NO-ERRORS
PERFORM 300-UPDATE-COMMUTER-RECORD
ELSE
PERFORM 400-PRINT-TRANSACTION-ERRORS
END-IF.

END-IF is not always needed, but it ends a series of IFs and is useful in a nested-IF construct.

2007-02-13 06:50:29 · answer #1 · answered by Runa 7 · 0 0

Hey check the following link for more details:

http://www.csis.ul.ie/COBOL/Course/Default.htm

Best of Luck!

2007-02-13 13:54:25 · answer #2 · answered by yaramala 2 · 1 0

http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol4.doc/rlpdscon.htm

-:)

2007-02-13 14:36:14 · answer #3 · answered by Pinacolada 2 · 1 0

fedest.com, questions and answers