A cobol program to read a file , match it with other if.
If match occurs then write it to an output file. If no
match then no need to write it.Error log created by program
to track any error.
Answer / ajay kumar ande
procedure:
1. take 4 seq. files,read two files
2.if rec1(key1)=rec2(key2)
write record3
else
write record4
or using jcl
pgm=iebcmpr
sysut1 dd dsn=dataset1
sysut2 dd dsn=dataset2
sysin dd *
compare typorg=ps/po
| Is This Answer Correct ? | 3 Yes | 4 No |
How to display string in the reverse order using occurs clause?
how to display the dataset information?
how to know that the file has 300 records how to acess it?
What is COMP-1? COMP-2?
Can JUSTIFIED be used for all the data types?
What is the difference between COMP & COMP-3 ?
how to transfer the file from pc to mainframe??
What is the point of the REPLACING option of a copy statement?
1.Can we define condition-name conditions in FD entry.
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
What kind of error is trapped by on size error option?
What is the difference between PIC 9.99 and PIC9v99?