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
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how to move the records from file to array table. give with code example
Write the code implementing the perform … varying.
Write down the divisions of cobol program?
how to refer the data field?
Which mode is used to operate the sequential file?
A table has two indexes defined. Which one will be used by the SEARCH?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Which division and paragraphs are mandatory for a COBOL program?
What are different data types in cobol?
How do u write test cases?
What is the problem of ordered sequential files access?
When is inspect verb is used in cobol?
) what is the difference between AID and HANDLE AID?
What is the difference between perform … with test after and perform … with test before?