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 Posted / 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 |
Post New Answer View All Answers
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the difference between PIC 9.99 and PIC9v99?
what are decleratives in cobol?
What is the difference between comp and comp-3?
What is Pic 9v99 Indicates in COBOL?
In COBOL, what is the different between index and subscript?
What are the different open modes available in cobol?
How do you define a variable of comp-1 and comp-2?
Which Search verb is equivalent to PERFORM…VARYING?
Can we change the password using ALTER? anyone tried and changed?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
State the various causes of s0c1, s0c5 and s0c7.
Discuss about changing dataset name in proc.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Can we redefine the field of x(200) to less than 200?