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 / sweety
rec2 will be
123124590
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How do you reference the following file formats from cobol programs?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is a SSRANGE and NOSSRANGE?
What is the difference between Global and External Variables?
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
How do u write test cases?
State the various causes of s0c1, s0c5 and s0c7.
How many sections are there in data division in COBOL?
what happens if parmparameter passes zero bytes to the program
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.
What is amode(24)?
How do define dynamic array in cobol.
What is perform what is varying?
What are different data types in cobol?
How do you get the data to code the BMS macro?