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
What is the Purpose of POINTER Phrase in STRING command in COBOL?
HOw can I get the negative sign while deduct high value from low value
What are the pertinent COBOL
What the difference is between continue and next sentence?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are various search techniques in cobol? Explain.
How to remove 2 duplicate records and copy only one using job control language?
how to move the records from file to array table. give with code example
How do you differentiate between cobol and cobol-ii?
how do you reference the rrds file formats from cobol programs
I have a File that has duplicate records. I need only those records that occur more than thrice.?
how do you define single dimensional array and multidimensional array in your cobol?
Difference between cobol and cobol-ii?
What rules are to be followed while using the corresponding options?
What is the difference between Global and External Variables?