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.
REGISTER or login: