I have the requirement to compare the two files and pick up
the matching records.
File 1. file2
23 32
32 13
34 15
35 36
36 35
43
Get the matching records from this 2 files to out file. how
you will do this in cobol program?
Answer Posted / pa
load any of the file to the table and use SEARCH.
write the matching records to the output file.
| Is This Answer Correct ? | 4 Yes | 13 No |
Post New Answer View All Answers
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How many sections are there in data division in COBOL?
Can we redefine the field of x(200) to less than 200?
How you can read the file from bottom?
What is the difference between Call and a Link?
IF I mention stop run in CICS what happens?
how do you reference the fixed unblock file formats from cobol programs
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
) How do u handle errors in BMS macro?
Explain what you understand by passing by value.
Give some examples of command terminators?
What are 77 levels used for?
Differentiate between structured cobol programming and object-oriented cobol programming.
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 ?