Midrange News for the IBM i Community

Posted by: John Tremper
Need some help
has no ratings.
Published: 30 Jun 2013
Revised: 14 Jul 2013 - 1858 days ago
Last viewed on: 15 Aug 2018 (3563 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Need some help Published by: John Tremper on 30 Jun 2013 view comments(14)

Hi All,

I have to update an RPG III program that was written back in 1982, when I was still in high school.  I need to edit a 6 character text field that represents a date, MMDDYY.  The month and day characters must be valid (1-12 and 1-31).  When they pass the edits they need to be converted to a date field YYYY-MM-DD and then written to a more modern file that is an ISO date.  I am having trouble finding documentation, can anyone make some suggestions?  Thanks in advance or any help.



Return to midrangenews.com home page.
Sort Ascend | Descend