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 |
Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a
why 02 level number can't be use as a separate level number like 01 or 77 ?
what are the limitations of Inline Perform?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
When and how can we use index & subscript ?
diffrence between renames and redifnes with examples
What is the different between index and subscript?
What are options have been removed in COBOL 11?