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 to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is the minimum number of lines a Cobol program should have to successfully compile and run
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
how to pass 100 to s9(4) how r they inserted ?
in the TIME parameter we r giving hours r minutes
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
whats the disadvantage of search all over search?
how can i see junk values in dclgen or in hostvariable of comp ?
how you read control card into array?
How to convert bunch of words in a line to relvant ASCII values?
What guidelines should be followed to write a structured cobol prgm?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?