540 pts.
 Changing date fields to *longjul
In RPG, how do you change a date format to *longjul. I haven't found this format in the definition specs. I can change dates from *longjul within the C specs: *longjul Move LJdate NewDate but I have to call a program for the reverse.

Software/Hardware used:
ASKED: November 19, 2007  6:57 PM
UPDATED: July 17, 2008  7:58 PM

Answer Wiki:
If you look in the Information Center online under Programming/API you will find an API program named QWCCVTDT. This is a convert date program you can call from RPG and it will allow you to convert dates from a variety of formats to another. From the parameter descriptions you can go from one format to *longjul or *longul to another format. Under the API topc is an API finder program that will find this API program by searching on the name.
Last Wiki Answer Submitted:  July 17, 2008  7:58 pm  by  WaltZ400   645 pts.
All Answer Wiki Contributors:  WaltZ400   645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _