Can we put move statement in COBOL copybook
Answer Posted / tata
we can use move in copy book. but
if ur copybook contains procedure division statements
with move statement.. then that variables which were wriiten
with move statement, should be declared in ws-section of
data division.
in this particular case only this is possible.. in all
other cases this is not popssible.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What are the different rules to perform a Search?
What is link edit in cobol?
Discuss about changing dataset name in proc.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
how do you reference the variable unblock file formats from cobol programs
Why would you use find and get rather than to obtain?
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 did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is report-item in COBOL?
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.
how do you reference the fixed unblock file formats from cobol programs
How arrays can be defined in COBOL?
How you can read the file from bottom?
What is the use of intialize verb?
How to remove 2 duplicate records and copy only one using job control language?