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
What are the cobol coding sheets?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Name the divisions, which are available in a cobol program?
Why did you choose to work with ibm mainframe cobol programming?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Differentiate between structured cobol programming and object-oriented cobol programming.
what is the difference between COBOL2 AND COBOL390?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the use of intialize verb?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What are the different rules of SORT operation?
what is difference between cobol and cobol/400