× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Duane,
 
I think it is smart that you are using the ACS Run SQL Scripts to test
your SQL.
The ACS SQL support is getting a lot of investment from IBM and even has
intellisense for your tables/columns and even SQL syntax.   (some of these
things would take installing a newer version of ACS, like the one that
just came out this week.  When you install ACS outside of RDi, RDi is
smart enough to find your newer version and launch it instead. 

But the integration with RDi is pretty basic.  ACS RSS is launched by a
command line that tells  it which IBM i to connect to and the SQL to start
with.  But there is not additional configuration about user profiles,
jobd, environmental settings that gets transmitted.  So you do have to
manage your configuration of RSS independently of RDi.
 
______________________________________________________________________________________
 

Edmund Reinhardt
905-413-3125    
IBM Canada Ltd Rational Developer for i Access Client Solutions
Architect
[1]https://www.linkedin.com/in/edmundreinhardt/ [2]http://ibm.biz/rdi_hub [3]http://ibm.biz/IBMi_ACS

 
 
 

----- Original message -----
From: Duane Scott <dscott@xxxxxxxxxxx>
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [WDSCI-L] Date Format in SQL
Date: Thu, Dec 10, 2020 12:04 PM
 
I mean that I am running an SQL script, apparently in the part that is
ACS., not as a part of the SQLRPGLE source.  

I use the ACS from RDi and haven't started up ACS in quite a while
because it's conveniently in there.  Why IBM included it and didn't make
the menu options dialog and work the same is a bit mind messing, but it
is what it is.  Or better yet, why not an "ACS/SQL" perspective just for
working with SQL scripts that mimics what's on ACS/SQL.
<whine>.

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jim
Diephuis
Sent: Thursday, December 10, 2020 11:37 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Date Format in SQL

When you say 'Run SQL Scripts' what do you mean? If you are
pre-compiling SQL you can specify the date format on the CRTSQLRPGI
command. When you say 'run SQL Scripts' it implies to me you started the
'run SQL scripts'
tool that is part of ACS.

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:     Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date:   12/10/2020 10:16 AM
Subject:        [EXTERNAL] Re: [WDSCI-L] Date Format in SQL
Sent by:        "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>

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:
[4]https://lists.midrange.com/mailman/listinfo/wdsci-l ;

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[5]https://archive.midrange.com/wdsci-l

.

Help support
[6]http://midrange.com ;
by shopping at
[7]http://amazon.com ;
with our affiliate
link:
[8]https://amazon.midrange.com ;

--
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:
[9]https://lists.midrange.com/mailman/listinfo/wdsci-l

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[10]https://archive.midrange.com/wdsci-l
.

Help support
[11]http://midrange.com ;
by shopping at
[12]http://amazon.com ;
with our affiliate
link:
[13]https://amazon.midrange.com

--
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:
[14]https://lists.midrange.com/mailman/listinfo/wdsci-l ;

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
[15]https://archive.midrange.com/wdsci-l ;
.

Help support [16]http://midrange.com by shopping at
[17]http://amazon.com with our affiliate
link:
[18]https://amazon.midrange.com ;

--
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: [19]https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [20]https://archive.midrange.com/wdsci-l.

Help support [21]http://midrange.com by shopping at
[22]http://amazon.com with our affiliate
link: [23]https://amazon.midrange.com

--
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: [24]https://lists.midrange.com/mailman/listinfo/wdsci-l ;
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [25]https://archive.midrange.com/wdsci-l ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [26]https://amazon.midrange.com ;
 

 

References

Visible links
1. https://www.linkedin.com/in/edmundreinhardt/
2. http://ibm.biz/rdi_hub
3. http://ibm.biz/IBMi_ACS
4. https://lists.midrange.com/mailman/listinfo/wdsci-l
5. https://archive.midrange.com/wdsci-l
6. http://midrange.com/
7. http://amazon.com/
8. https://amazon.midrange.com/
9. https://lists.midrange.com/mailman/listinfo/wdsci-l
10. https://archive.midrange.com/wdsci-l
11. http://midrange.com/
12. http://amazon.com/
13. https://amazon.midrange.com/
14. https://lists.midrange.com/mailman/listinfo/wdsci-l
15. https://archive.midrange.com/wdsci-l
16. http://midrange.com/
17. http://amazon.com/
18. https://amazon.midrange.com/
19. https://lists.midrange.com/mailman/listinfo/wdsci-l
20. https://archive.midrange.com/wdsci-l
21. http://midrange.com/
22. http://amazon.com/
23. https://amazon.midrange.com/
24. https://lists.midrange.com/mailman/listinfo/wdsci-l
25. https://archive.midrange.com/wdsci-l
26. https://amazon.midrange.com/

As an Amazon Associate we earn from qualifying purchases.

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-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.