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 |
OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49
IF I mention stop run in CICS what happens?
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??
how we can edit records in vsam data set and non vsam data sets
i want a program using by if, evaluate , string, unstring, perform, occurs?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
how will u code parm parameter and where pls ?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
What is link edit in cobol?
how will u pass dadta to cobol+db2 program...?
what is the coding difference between COBOL and CICS.
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).