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 the maximum length of a field you can define using COMP-3 in COBOL?
Without using move verb how to move one variable to another.
what is the difference b/w level no.01 & level no.77?
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
Which Search verb is equivalent to PERFORM…VARYING?
what is the difference between Plan & package?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
what happens if parmparameter passes zero bytes to the program
what is s000 u4087 error? please give the all error codes in cobol,jcl.
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.
What is CALL statement in COBOL?