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 |
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
In an EVALUATE statement, can I give a complex condition on a when clause?
What are the access modes of START statement?
what are the isolation levels and where we use it in the db2 program
What is the linkage section?
When and how can we use index & subscript ?
Can we call a CICS program from a batch program or viceversa?If so, how?
I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 Answers ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,
how to move the records from file to array table. give with code example
subscript and index r not coded in u r application program what will happen?
What is LENGTH in COBOL II?