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

which generation language is cobol

4 Answers   Kanbay,


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

5 Answers   IBM,


What is CALL statement in COBOL?

4 Answers  


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,






sample code for read a 2nd record from last in flatfile how can do?

4 Answers   iNautix,


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


file status 00 is checked after opening the file or reading the file

4 Answers   John Deere,


Why we need to use redefine clause when we can define the variable seperately... what is actual need....

5 Answers   Accenture,


What is Redefines clause?

8 Answers  


how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)

6 Answers  


can I copy book which contain db2 statment in procedure divion?

2 Answers   Bank Of America,


Categories