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
Why did you choose to work with ibm mainframe cobol programming?
Mention the guidelines to write a structured cobol program?
Which Search verb is equivalent to PERFORM…VARYING?
explain sorting techniques in cobol program?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the local-storage section?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are the cobol coding sheets?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the different rules to perform a Search?
What are the different open modes available in cobol?
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.
How do you reference the following file formats from cobol programs?
Describe the cobol database components?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?