I am bout to read a file and fill a subfile using embedded SQL in RPG. Not sure how to convert date and check if date is greater than selected date (from input screen).
Date format in file is 6 numeric (CYYDDD - some type of julian format, actually JDEdwards).
Question:
1. How to convert CYYDDD to MMDDYY
2. How to test if date in file is greater than selected date by user (MMDDYY)
Thank you.
Date format in file is 6 numeric (CYYDDD - some type of julian format, actually JDEdwards).
Question:
1. How to convert CYYDDD to MMDDYY
2. How to test if date in file is greater than selected date by user (MMDDYY)
Thank you.
Comment