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
What are all the divisions of a COBOL program?
example for sub strings ? and refernce modifications whit output pls
How do define dynamic array in cobol.
) How do u handle errors in BMS macro
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between PIC 9.99 and PIC9v99?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
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.
explain sorting techniques in cobol program?
What is the use of intialize verb?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How many bytes S(8) comp field occupy and its maximum value?
Difference between cobol and cobol-ii?
what is the difference between COBOL2 AND COBOL390?