What is the point of the REPLACING option of a copy
statement?
Answer Posted / nk
Say you have a copybook for a certain record layout. You
want to use the copybook once for an input record and a
second time for an output record. By using replace, you
can use the same copybook twice in the same program, each
with a unique name.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
When is inspect verb is used in cobol?
What rules are followed by the search verb.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
In COBOL, what is the different between index and subscript?
What is the difference between binary search and sequential search?
what are decleratives in cobol?
HOw can I get the negative sign while deduct high value from low value
How do get the result of your program directly on your pc?
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 can i see junk values in dclgen or in hostvariable of comp ?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the difference between PIC 9.99 and PIC9v99?
how do you reference the variable unblock file formats from cobol programs