× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



My mission is to read some multi-member archive files and delete any members older than six months. To accomplish this task quickly, I get my creation date from a RTVMBRD (retrieve member description), which gives me a date in CYYMMDDHHMMSS format where the `C` is `0` for 19xx and `1` for 20xx. I pass this whole date as a parm to an RPG program where I can replace the 0 or 1, move the resulting eight digit date to a date field, then perform my date test. A return code from the RPG into the CL controls whether I delete that member or move on to the next one in sequence.

Is there a date testing method which I can use to compare today's date and the member creation date in CL and find the difference in months? If so, I could remove the RPG program from the process.



Robert Munday
Munday Software Consultants
Montgomery, AL
on assignment in Nashville, TN



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.