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
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are the pertinent COBOL commands?
What is the difference between comp and comp-3?
How do you reference the fixed block file formats from cobol programs
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How you can read the file from bottom?
Why would you use find and get rather than to obtain?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the different rules of SORT operation?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to know whether the module is dynamical or statistical?
HOw can I get the negative sign while deduct high value from low value
What is the difference between next sentence and continue in cobol programing language?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.