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 / santhosh vayathuri

REC 2 WILL BE

123124591231

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the difference between search & search ALL?

5287


What are the pertinent COBOL commands?

2632


How do define dynamic array in cobol.

679


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1006


Discuss about changing dataset name in proc.

769






i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2111


Name the divisions, which are available in a cobol program?

693


How are the next sentence and continue different from each other?

771


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

785


What is a SSRANGE and NOSSRANGE?

834


Why occurs cannot be used in 01 level in COBOL?

723


What is the Purpose of Pointer in the string?

648


i want a program using by if, evaluate , string, unstring, perform, occurs?

4068


What is the usage of comp fields in cobol?

664


Which is not true about evaluate statement

1619