I want to write a simple only-cobol program such that when joining date is below 01-01-2005 , the salary is credited with 5000 and if the date is above 01-01-2005, then salary is credited with 2000.
In the first condition,
if yyyy < 2005
update by 5000
But, I don't know how to give the 2nd condition.
Please help.