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 is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is a report item?
What is the compute verb? How is it used?
Name some of the examples of COBOl 11?
When is inspect verb is used in cobol?
What is comp-1 and comp-2?
What is the difference between perform … with test after and perform … with test before?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Why would you use find and get rather than to obtain?
Write a cobol program making use of the redefine clause.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?