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

what is amode(24), amode(31), rmode(24) and rmode(any)?

699


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

2105


Explain how to differentiate call by context by comparing it to other calls?

688


how to convert the recors form vsam file to db2 table tru file aid

2763


What is the difference between comp and comp-3?

700






Differentiate between structured cobol programming and object-oriented cobol programming.

667


What is the compute verb? How is it used?

659


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2113


) what is the difference between AID and HANDLE AID?

1635


Can we redefine the field of x(200) to less than 200?

818


Which Search verb is equivalent to PERFORM…VARYING?

685


How you can read the file from bottom?

660


What is the LINKAGE SECTION used in COBOL?

889


What are the different open modes available in cobol?

720


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2730