Determine the total no of bytes in the following.

01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.

Answer Posted / v@m$i

first u r syntax is wrong.
6
6
6
6
30
18
---
72

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

658


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1228


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2093


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


What are all the divisions of a COBOL program?

660






How you can read the file from bottom?

656


What are declaratives and what are their uses in cobol?

706


In which area will you utilize 88 level items in cobol?

712


What are the access modes of START statement?

716


How do define dynamic array in cobol.

667


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


What guidelines should be followed to write a structured cobol prgm?

666


Mention the guidelines to write a structured cobol program?

614


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

800


What is static and dynamic call in cobol?

590