Topics are arranged alphabetically for quick reference. For more information, see your Oracle system-specific documentation. The sample programs are in ANSI format. No continuation indicator is needed. To continue a string literal from one line to the next, code the literal through column On the next line, code a hyphen - in column 7, a quote in column 12 or beyond, and then the rest of the literal.
COBOL - Conditional Statements
Writing a Pro*COBOL Program
Depending on certain conditions specified by the programmer, conditional statements are used to change the execution flow. The output is always given in true or false by a conditional statement. COBOL contains various types of conditional statements:. If condition statement is used to check for a condition if a condition is true, the IF block is executed, and if the condition is false, the ELSE block is executed. Simple IF is mainly used to execute the condition related code. If the condition is true, then it will execute the set of statements written in the IF block. If condition is not satisfied, the control will transfer to the next statements after the IF statement terminated.
COBOL File status codes
Bill Gunshannon. It parses statements across lines into words and then looks at the relative positions of Keywords, quotes, and noise to determine whether something is of interest to the process going on. There's too much to go into here but the above is the gist of it. TO, SET
These are operators that are used to compare values. Comparison operators include equal to, less than, greater than and not equal to Comparison operators are used to compare values for validation purposes. Let's say you are developing a simple point of sale application. In this application, you want to validate the values entered before you post. In such cases, you can use comparison operators.