Can we put move statement in COBOL copybook
Answer Posted / ankitha
copy book is nothing but pre written cobol statements and
can be used in any division in cobol pgm ,you can code move
statement in copy book and copy in procedure division.
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
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.
Are you comfortable in cobol or jcl?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What type of SDLC u followed? Why?
How can you get the ksds file records into your cobol program?
Explain the configuration section of a cobol program with examples of syntax.
Explain what you understand by passing by value.
what is amode(24), amode(31), rmode(24) and rmode(any)?
Name some of the examples of COBOl 11?
What is the difference between external and global variables in COBOL?
What is the difference between Call and a Link?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between Global and External Variables?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
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.