what is the difference b/w level no.01 & level no.77?
Answers were Sorted based on User's Feedback
Answer / sumankumar
01 LEVEL NUMBER IS USED TO GROUP R ELEMENTARY DATA ITEMS AND
77 LEVEL NUMBER IS USED ELEMENTARY DATA NAMES
01 CONS SITES PIC CLASS ITS OPTIONAL BUT 77 LEVEL MUST
DECLARED ALONG WITH PIC CLASS ITS MAIN DIFFERENCE
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / rkt
Level number is used for Elementory data items or group
items which hold some values to rapidly change in program.
but 77 level is used for declaring constant or fixed
elementory values which are not to change during the
program execution .
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / mchava
Level 77 can be used to describe independent elementary
items in the Working-Storage or Linkage Sections.
Level 01 can be used to describe both elementary and group
items. Any item described in Level 01, the system is
putting on Double-Word boundary and inserts slack bytes if
necessary
| Is This Answer Correct ? | 7 Yes | 0 No |
can we write paragraph in area B .....
How do u know what version of cobol u are using?
how to display the dataset information?
How include time & date in the report generation in cobol programing?
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
How to define a array dynamically.....
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
How do define dynamic array in cobol.
What rules are to be followed while using the corresponding options?
What is the point of the REPLACING option of a copy statement?
when iam reading a flat file which has 100 records through cobol program when iam reading 50th records it gets abends .. so when i run the program again it should read from 50th record .where it got abened ? how it is possible
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?