What is 88 level used for ?

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


Please Help Members By Posting Answers For Below Questions

What are the cobol coding sheets?

666


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


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

1960


Name the divisions, which are available in a cobol program?

685


Why did you choose to work with ibm mainframe cobol programming?

631






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?

1231


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)?

633


Differentiate between structured cobol programming and object-oriented cobol programming.

669


what is the difference between COBOL2 AND COBOL390?

2455


i want a program using by if, evaluate , string, unstring, perform, occurs?

4062


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


What is the use of intialize verb?

750


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?

700


What are the different rules of SORT operation?

700


what is difference between cobol and cobol/400

21569