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 / vel

Let us come from bottom

K=2
J=3

so H = 3 * 5 =15
G = 8
SO F = 5 * ( 8 + 15) =115
E = 7 * 5 = 35
A=B= 6
SO TOTAL SIZE =156

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1900


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

674


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1111


Which mode is used to operate the sequential file?

658


what is search and searchall?what is the diffrence between them?give an best example?

5540






How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

708


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

643


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

734


How can you get the ksds file records into your cobol program?

639


What is the difference between next sentence and continue in cobol programing language?

707


A table has two indexes defined. Which one will be used by the SEARCH?

753


How to print 10 to 1 if the input have only 10 digit number?

808


what is difference between cobol and cobol/400

21556


Can a Search can be done on a table with or without Index?

800


Describe the cobol database components?

676