01rec1.
05 a pic 999v99 value 123.12
05 b pic 99v9 value 45.9
02 rec2.
05 x pic 999v99
05 y pic 99v99
05 z pic x(3) value 'abc'
if rec1 is moved to rec2 then what is the value of rec2?
Answer Posted / praveen
REC2 will just contain 12312459 , the code was tested
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between Global and External Variables?
What is the problem of ordered sequential files access?
Explain the configuration section of a cobol program with examples of syntax.
What is the difference between goback, stop run and exit program in cobol?
In which area will you utilize 88 level items in cobol?
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the Purpose of Pointer in the string?
What are the access modes of START statement?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Mention the guidelines to write a structured cobol program?
What is static and dynamic call in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is rmode(24)
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?