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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!