Thanks, Larenzo.
You got that part right. However, it's not the solution to my problem, evidently, as it's set in there as ISO (as expected).
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Larenzo Alexander
Sent: Thursday, December 10, 2020 11:32 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Date Format in SQL
Within RDI, while a sqlrpgle source file is open, go to 'source' on menu bar and 'Launch Run SQL Scripts', the ACS (Access Clients Solution) opens and within that window at the top of the menu click connections then JDBC Configurations and you should be able to change your defaults there.
Or outside of RDi, you should be able to start Access Client Solutions and click 'Run SQL Scripts', then in the menu bar click connections then JDBC Configurations and you can change defaults.
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Duane Scott
Sent: Thursday, December 10, 2020 11:16 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Date Format in SQL
CAUTION! This email originated from outside of the organization. Please do not open attachments or click on links from an unknown or suspicious origin.
Ok. Now I'm really lost, and it may be my version difference.
I'm on RDi version: 9.6.0.8 20200403_1723
Jim: you say it's not an RDi Question, but I'm not having this problem in interactive SQL, and I'm not trying this in anything BUT RDi. Again, my lack of knowledge of the inner workings and connectivity of things is hurting me right now, but I don't know any better at this time.
Jim and Robert: Both of you indicate the same steps, but I can't follow either of them as my RDi menu options do not say precisely what you are telling me. Are you saying in "Preferences" under the "Window" drop down menu item I should be able to find "SQL Scripts" or "Run SQL Scripts Connection"? I can find neither there, and I don't find either in the RDi drop down menus. Especially if I go anywhere near what you both indicate, which, bottom line, is the same thing.
I need a better road map. Sorry to appear so dense. I've only been working in RDi for 15 years, give or take a year or two. And almost exclusively for the past 5 years.
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jim Diephuis
Sent: Thursday, December 10, 2020 10:58 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Date Format in SQL
This really isn't an RDi question. In SQL scripts if you click on the Connection tab and select JDBC Configuration - Default you can go to the Format tab and change the date format.
Jim Diephuis
IBM i Senior Managing Consultant
Lab Services Power Systems Delivery Practice
phone: 507.253.1248
e-mail: diephuis@xxxxxxxxxx
From: Duane Scott <dscott@xxxxxxxxxxx>
To: "WDSCI-L@xxxxxxxxxxxxxxxxxx" <WDSCI-L@xxxxxxxxxxxxxxxxxx>
Date: 12/10/2020 09:48 AM
Subject: [EXTERNAL] [WDSCI-L] Date Format in SQL
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
I've done a bit of research and cannot figure out how to change the default date format for queries in Run SQL Scripts using RDI.
I'm used to ISO formats as the default, but somehow it's now set at MM/DD/YY (MDY) and all my queries over a file with a "valid" date comes back with a warning that there's and invalid date if the date field is selected.
We use a date of '9999-01-01' to signify a non-ending enrollment period, which is of course not a valid date for MDY format.
How did it change from ISO to MDY? And how do I change it back?
CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact NALC Health Benefit Plan at 703-729-4677 and delete and destroy the original message and all copies.
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=F6aJEG84d0od4gdfH74lsmmwVG7Ha08bJsPrAIT_o-I&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=2R0f7RfR3kL_MYU8ZfBU0PAL5JS0kiSYUjdPcJjiUlo&e=
.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=6xd7nVmkpEw6Wv_gdLQEyrTo194HWPQnsIWj8uSmYPY&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=LUPHjXGUQMm9BAQlsQeIJUcRNhsBoCbXEDg7nV2jcF8&e= with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=JSTKWfNaIemB0wSS-HiCbPmT57tsDFAFP5lDh8gsY5I&e=
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=F6aJEG84d0od4gdfH74lsmmwVG7Ha08bJsPrAIT_o-I&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=2R0f7RfR3kL_MYU8ZfBU0PAL5JS0kiSYUjdPcJjiUlo&e=.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=6xd7nVmkpEw6Wv_gdLQEyrTo194HWPQnsIWj8uSmYPY&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=LUPHjXGUQMm9BAQlsQeIJUcRNhsBoCbXEDg7nV2jcF8&e= with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=_W6qzpLHbC9rKdMxRZT_vIo2vnyvWHnhRs2OEbNf9fc&s=JSTKWfNaIemB0wSS-HiCbPmT57tsDFAFP5lDh8gsY5I&e=
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=eGYfmrbM7cp-uCcwCHnsDHlmG6BIO8A06QaK0jCQhdw&s=MqFbB_neo2NUDNvhiq2Qi03CoNkrT4rmNlnDTVBlWig&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=eGYfmrbM7cp-uCcwCHnsDHlmG6BIO8A06QaK0jCQhdw&s=d7dyMd-YxNiGqfQH3VExy0sB3j6T5KTCeie717QHmKg&e=.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=eGYfmrbM7cp-uCcwCHnsDHlmG6BIO8A06QaK0jCQhdw&s=ipJNifh4iirvxQOJiZNS-6c3tSOfdfuI5t0taf5Be-o&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=eGYfmrbM7cp-uCcwCHnsDHlmG6BIO8A06QaK0jCQhdw&s=8jpP_PxIIi8LaTWwJd6_4dqkNe8t_1AEv7XGB8GopUY&e= with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=eGYfmrbM7cp-uCcwCHnsDHlmG6BIO8A06QaK0jCQhdw&s=6NtOGzOiYMEBy961knK-KfgBx3FoZVkPUUyUOEPkq9w&e=
As an Amazon Associate we earn from qualifying purchases.