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


Please Help Members By Posting Answers For Below Questions

what happens if parmparameter passes zero bytes to the program

1671


What is link edit in cobol?

780


What is the difference between a binary search and a sequential search what are the pertinent cobol?

741


What is the default value(s) for an initialize and what keyword allows for an override of the default?

701


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1528






Explain what you understand by passing by value.

708


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.

1708


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

717


What is the difference between Call and a Link?

704


When is inspect verb is used in cobol?

683


How do get the result of your program directly on your pc?

1891


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

673


What is a report item?

745


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1962


what are decleratives in cobol?

1831