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

Answer Posted / rahul

Here B is redefining A so 6 will be added only once

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we redefine the field of x(200) to less than 200?

814


Which division and paragraphs are mandatory for a COBOL program?

707


What are the cobol coding sheets?

660


What is the difference between comp and comp-3 usage?

674


In COBOL, what is the different between index and subscript?

753






Write a program to enter and display the names of students in a class using the occurs clause.

647


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1927


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2104


Which is not true about evaluate statement

1567


i want a program using by if, evaluate , string, unstring, perform, occurs?

4046


How do you reference the fixed block file formats from cobol programs

701


How to know whether the module is dynamical or statistical?

650


Why occurs cannot be used in 01 level in COBOL?

711


How do get the result of your program directly on your pc?

1878


what is difference between cobol and cobol/400

21556