|
Gade, In a message dated 2/9/00 3:01:21 PM Eastern Standard Time, Gade_R_Reddy@consecofinance.com writes: > I have an SQL statement which run perfectly in runsqlstm on the command > line but fails in my SQLRPGLE program. <<snip>> I would suspect that, in SQLRPGLE, "where APPYDT=2000-02-07" is being converted into "where APPYDT=1991". RUNSQLSTM interprets the statement literally, but RPG of any flavor is free to "do the math". Not sure, but check it out... HTH, Dean Asmussen Enterprise Systems Consulting, Inc. Fuquay-Varina, NC USA E-mail: DAsmussen@aol.com "Anyone who is not liberal in their youth has no heart. Anyone who is not conservative in their adulthood has no brain." -- Winston Churchill +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.