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 are differences between COBOL and java ? why we are giving more preference to COBOL ?
What is SSRANGE, NOSSRANGE ?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
How many bytes S(8) comp field occupy and its maximum value?
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
TYPES OF SORTINGS. which is more prefarable.
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
How can you pass values from COBOL program to non-COBOL programs?
What is the usage of comp fields in cobol?
What is the difference between SEARCH and SEARCH ALL?