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

how to convert the recors form vsam file to db2 table tru file aid

2749


Write some characteristics of cobol as means of business language.

611


How many bytes S(8) comp field occupy and its maximum value?

1621


Explain how you can characterize tables in cobol?

634


What is the difference between a binary search and a sequential search what are the pertinent cobol?

725






What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

667


In COBOL, what is the different between index and subscript?

751


what are decleratives in cobol?

1821


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

1947


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

666


What are 77 levels used for?

650


What is the difference between comp and comp-3 usage?

669


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2048


Write a program to explain size error.

667


Can we change the password using ALTER? anyone tried and changed?

1535