× 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.


  • Subject: RPG conversion program
  • From: "Sherry McMahon" <smcm@xxxxxxxxxxxxxxx>
  • Date: Tue, 4 May 1999 05:57:35 -0500

I would appreciate any help on writing a conversion program to change the dates in an existing physical file to *ISO dates in a new data file.  My idea is to create a new physical file with new date fields and in an RPG program rename the fields, TEST(D) on any dates, move the 6,0 ymd dates into the new *ISO field, if a bad date, set it to *loval, write the bad dates to an exception(?) report, and move all the new fields from the PF to the same name PF in a test lib.  I feel I have a fairly good idea of what I want to do but darned if I'm sure of how to go about it.  It must be pretty obvious I'm a new programmer and could use some examples on how to set the RPG up, the proper way to test the dates and how to write the exception report. I've read the books, been to the IBM site but would appreciate some 'live' advice.  Thank you all in advance for your time and patience.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.