Thanks, I had never investigated the SET OPTION sql function. This should certainly take care of the compiler settings for DON. One note to Don, when I tried this the first time, I placed the "SET OPTION" statements directly after my "H" specification. The precompiler did not like this. I moved them to be the first "C" specs and everything work fine. Michael -----Original Message----- From: Pete Hall [mailto:email@example.com] Sent: January 08, 2002 05:35 PM To: firstname.lastname@example.org Subject: RE: SQL Error -183 At 09:07 01/08/2002, Michael Smith wrote: >Doesn't work. >.. snip .. >H Datfmt(*ISO) You need to tell the SQL pre-compiler what date format to use too. You can either do it in the compile command, or you can code a SET OPTION (SQL command). I usually do that along with the H spec in RPG so I don't have to worry about compiler settings. Pete Hall email@example.com http://www.execpc.com/~pbhall/ _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-Lfirstname.lastname@example.org Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.