Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The types of the right and left hand side do not match in the EVAL ope

Status
Not open for further replies.

Jaytib

Programmer
Sep 7, 2010
19
0
0
US
Can someone help me make this work? When i converted my pgm to free form, this is what i got. I have tried several diff ways, but there are so many diff date formats, i cant seem to get one to work. Sorry, i am a newbee.

D w_Date S d
D w_IsoDate S d DATFMT(*ISO)
D w_Year S Like(SYR)
D w_NextFyr S + 2 Like(SYR)
D w_Date8 S Like(SDATE8)

w_IsoDate = %DATE(*DATE:*USA);
w_Date8 = w_IsoDate;

The types of the right and left hand side do not match in the EVAL operation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top