What is 88 level used for ?

Answers were Sorted based on User's Feedback



What is 88 level used for ?..

Answer / 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

What is 88 level used for ?..

Answer / aji cherian

For Condition names

Is This Answer Correct ?    28 Yes 3 No

Post New Answer

More COBOL Interview Questions

how would find total records in files using seqientional

1 Answers   HSBC,


What rules are followed by the search verb.

0 Answers  


For rewrite, why is it mandatory that file needs to be opened?

0 Answers  


How do you get the data to code the BMS macro?

0 Answers   IBM,


01 A pic 9(100) find record length of it

6 Answers   TCS,






Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?

3 Answers   IBM, UST,


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


What is R-mode and A-mode?

3 Answers   TCS,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


Categories