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
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between comp and comp-3 usage?
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.
Which mode is used to operate the sequential file?
what is search and searchall?what is the diffrence between them?give an best example?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How can you get the ksds file records into your cobol program?
What is the difference between next sentence and continue in cobol programing language?
A table has two indexes defined. Which one will be used by the SEARCH?
How to print 10 to 1 if the input have only 10 digit number?
what is difference between cobol and cobol/400
Can a Search can be done on a table with or without Index?
Describe the cobol database components?