CVTDAT Questions

1

Convert date to match database field with L data type?
The field in file is defined with data type L (2008-09-29). My date range in display file is MMDDYY. How do I convert prompt date so I can opnqryf on field in data base file?

Answer Question   |  September 30, 2008  2:12 PM
CL, CL/400, CVTDAT
asked by:
Sue
5 pts.

CL/400
I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want to convert date to *JUL format C. sending a Program message with the value of converted date.(With use of CVTDAT in cl coding)Please [...]

Answer Question   |  July 31, 2010  11:40 AM
CL, CL/400, CVTDAT
asked by:
15 pts.

QCMDEXC
Hi, i have built a small application using CL to convert date to required format. When i want to accomplish the same from RPGLE program with a display file to input date i wanted to call CVTDAT command from the RPG program. But i am geting error saying this command can’t be issued in this [...]

Answer Question   |  August 13, 2008  10:39 AM
CL/400, CVTDAT, QCMDEXC, RPG, RPGLE
asked by:
1,150 pts.

cl/400
Hi, Good morning my experts.Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is [...]

Answer Question   |  March 27, 2011  5:37 AM
CL, CL/400, CVTDAT
asked by:
0 pts.

1