If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
Answer Posted / raj
Using findrep in sort
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe the cobol database components?
how do you reference the rrds file formats from cobol programs
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the difference between Call and a Link?
What are the pertinent COBOL
HOw can I get the negative sign while deduct high value from low value
what are decleratives in cobol?
How many sections are there in data division in COBOL?
Difference between cobol and cobol-ii?
What is Pic 9v99 Indicates in COBOL?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
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.
What is perform what is varying?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?