Did you remember to add the trailing semi-colon?

/FREE
EXEC SQL
Set Option
DatFmt = *Iso,
Naming = *Sys,
Commit = *None,
UsrPrf = *User,
DynUsrPrf = *User,
CloSqlCsr = *EndMod;

-Eric DeLong

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike
Sent: Monday, July 20, 2009 1:59 PM
To: RPG programming on the IBM i / System i
Subject: Re: Dates Higher Than 2050?

So, why can't I use SET OPTION in free-format SQL? It errors out on me every
time. It is the first SQL statement in the source.


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.