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 |
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
Write down the divisions of cobol program?
how would find total records in files using seqientional
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?
i need a small 3d program using inline and outline.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How do get the result of your program directly on your pc?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
can we use COPY statement in w-s section? how?
how do u list the abended jobs?
What is 66 level number and where it is used in real time by software developers?
2 Answers ITC Indian Tobacco Company, TCS,