|
Thank you very much for the suggestions
In Debug mode:
X = 01.
EMPDAY2 = 15.
EMPCENTURY = 20.
DTEOFHIRE = '01/01/0001'
I modified it slightly and tried this code:
C eval DTEOFHIRE = %date(%char(X)
C + %char(EmpDay2)
C + %char(EmpCentury)
C + %char(EmpYear2): *mdy0)
EMPYEAR2 = 01.
I get the same error.
The only thing I can think that I might be doing wrong is I have this H statement in the
program:
H OPTION(*SRCSTMT : *NODEBUGIO)DATFMT(*USA)
Thanks,
Gary
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.