What is 88 level used for ?
Answers were Sorted based on User's Feedback
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 |
how would find total records in files using seqientional
What rules are followed by the search verb.
For rewrite, why is it mandatory that file needs to be opened?
How do you get the data to code the BMS macro?
01 A pic 9(100) find record length of it
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?
What do you do to resolve SOC-7 error?
What is R-mode and A-mode?
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
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
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 ?