Explain about level numbers?
Answers were Sorted based on User's Feedback
Answer / amit barwa
Level number -Is used to specify the the data hierarchy.
Level Number Purpose
01 Record description and independent items
02 to 49 Fields within records and sub items
66 RENAMES clause
77 Independent items
88 Condition names
Is This Answer Correct ? | 45 Yes | 6 No |
Answer / sathiyan pari
01 level number is the top most in hierarchy. It will be
used to denote a single variable or a group of variables.
02 and 49 are sub records or sub items
66 the renames key word will be used in this level number
only.
77 level numbers are elementary data items.I cannot be sub
divided.
88 conditional variable.
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / natarajan
01 record desc
02 to 49 fields desc
66 rename
77 variable declaration
88 conditionname
Is This Answer Correct ? | 9 Yes | 6 No |
What is sqlca and why is it needed in any cobol-db2 program?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
What are declaratives and what are their uses in cobol?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
What is an in line PERFORM? When would you use it? Anything else to say about it?
What is the difference between next sentence and continue in cobol programing language?
What care has to be taken to force program to execute above 16 Meg line?
How do we get current date from system with century in COBOL?
What are the ways you can generate a copybook?
When would you use in-line perform?
What compiler option would you use for dynamic linking?
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?