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 / vineet pasricha
nice ques.
remove pic clause from d
it will take 54 bytes
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What are different data types in cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the rules of the move verb?
What is rmode(any) ?
Write the code implementing the perform … varying.
What are the cobol coding sheets?
Write a program to explain size error.
Difference between array and sub-script ?
What are the different rules to perform a Search?
What is the Purpose of Pointer in the string?
What is an in line perform? When would you use it? Anything else you wish to say about it.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the difference between goback, stop run and exit program in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?