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 |
What is binary search?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
How to retrive the 9th records out of ten records using the cobol program ?
What is the use of EVALUATE statement?
how to resolve the file status 47.......
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS
What are the different open modes available in cobol?
can we use reference modification an arry.