Compare two records and make an abend
Posted: Mon Aug 21, 2017 6:26 pm
Hi,
I have two data sets as shown below :
I have to compare the two data sets (records), if 'AGE' is 'Less or Equal' than it's ok. But if 'AGE' of data set 02 Greater than data set 01 then abend.
Thanks for your help.
Coded and corrected terminology
I have two data sets as shown below :
Data Set 01
(Name age location ......)
---------
Ricardo 25 spain
(Name age location ......)
---------
Ricardo 25 spain
Data Set 02
(Name age location ......)
---------
Ricardo 28 spain
(Name age location ......)
---------
Ricardo 28 spain
I have to compare the two data sets (records), if 'AGE' is 'Less or Equal' than it's ok. But if 'AGE' of data set 02 Greater than data set 01 then abend.
Thanks for your help.
Coded and corrected terminology