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 the difference is between continue and next sentence?

669


How do you define a variable of comp-1 and comp-2?

711


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1126


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1532


What is an in line perform? When would you use it? Anything else you wish to say about it.

654






here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6853


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

758


) how do u code after getting data?

1584


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1941


Write a cobol program making use of the redefine clause.

743


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1034


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2670


how to refer the data field?

1818


Mention the guidelines to write a structured cobol program?

630


What is amode(31)

732