File matching logic
Posted: Sat Feb 11, 2012 12:13 am
Hi All,
Could you please help me out?
Could some one know sort card for below requirement please help me out
I have 2 input file one is transaction file (File-1) and master file (File-2)
Lay out as below
File-1 (transaction file)
File-2 (master file)
If (F1C1=F2C1 AND F1C2=F2C2 AND F1C3=F2C3)
Then out put file has to fill with F2C1 F2C2 F2C3 F2C4 F2C5
Else depending up on condition
Display F1C1 is not matched
Display F1C2 is not matched
Display F1C3 is not matched and abend the job
Regards,
Kiran
Could you please help me out?
Could some one know sort card for below requirement please help me out
I have 2 input file one is transaction file (File-1) and master file (File-2)
Lay out as below
File-1 (transaction file)
1-5 7-10 12-16
F1C1 F1C2 F1C3
X(5) X(4) X(5)
F1C1 F1C2 F1C3
X(5) X(4) X(5)
File-2 (master file)
1-5 7-10 12-16 18-24 26-30
F2C1 F2C2 F2C3 F2C4 F2C5
F2C1 F2C2 F2C3 F2C4 F2C5
If (F1C1=F2C1 AND F1C2=F2C2 AND F1C3=F2C3)
Then out put file has to fill with F2C1 F2C2 F2C3 F2C4 F2C5
Else depending up on condition
Display F1C1 is not matched
Display F1C2 is not matched
Display F1C3 is not matched and abend the job
Regards,
Kiran