Answer Posted / raghunandan
A level 88 is always associated with another variable and
is a CONDITION NAME for that variable.
It does not have a PICTURE clause.
For example-
IDENTIFICATION DIVISION.
PROGRAM-ID. PROG.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 OPTION PIC 9(3).
88 F-C CLASS VALUES 81 THROUGH 100.
88 S-C CLASS VALUES 61 THROUGH 80.
PROCEDURE DIVISION.
ACCEPT OPTION.
IF F-C
DISPLAY "CONGRATS"
ELSE
DISPLAY "OK".
STOP RUN.
| Is This Answer Correct ? | 40 Yes | 2 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
In COBOL programming, what is PERFORM? What is VARYING?
What kind of error is trapped by on size error option?
What is the difference between next sentence and continue in cobol programing language?
What is an in line perform? When would you use it? Anything else you wish to say about it.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the utilization of copybook in cobol?
How can you get the ksds file records into your cobol program?
What are the cobol coding sheets?
how do you reference the variable block file formats from cobol programs
Difference between array and sub-script ?
How do get the result of your program directly on your pc?
Why occurs cannot be used in 01 level in COBOL?
Have you used comp and comp-3 in your project? And how?
Give some examples of command terminators?