I have a file which has account opened date and account changed date. In my RPG program, I need to extract all those accounts opened today.
and do some calculations. Then I need to extract all those accounts that are changed today and status is not 'Cancelled'
My file doesn't have either opened date or changed date. so am thinking to use an OPNQRYF to extract the records. The issue is
can I use two difference OPNQRYF on the same file? One with account opened date today and another with account changed today and call the RPG program to process them separately.
How can I achieve this?