|
yes it works when I call from SQL Server no issues
On Mon, Jun 15, 2020 at 3:07 PM Scott Mildenberger <
smildenberger@xxxxxxxxxxxx> wrote:
If you execute the stored procedure in SQL server (from SSMS) will it
execute ok with large data set or does it get same error?
Scott Mildenberger | Software Developer | Washington Companies IT Services
| 101 International Drive | Missoula, MT | Office: 406-523-1536 |
www.washingtoncompanies.com
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Randy
Cayton
Sent: Monday, June 15, 2020 1:49 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: jdbc connection
I am working on something that is already in production so I can not
change the process.
On Mon, Jun 15, 2020 at 2:43 PM Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:
Yeah, Sam, I am wondering about the same - why use JDBC to call a
stored procedure in SQL Server that comes back to get data from the i?
Why not just use JDBC to push the data as it is added/changed, etc.?
Vern
On 6/15/2020 12:49 PM, Sam_L wrote:
FWIW: I'm not exactly sure what you are doing. I think you'll need--
to be more explicit to get responses.
You said "connection to an sql server" so is the jdbc connection to
the sql server? Because you also said "pulls records from the as400"
so the connection is to the as400. And rnx0301 is probably an RPG
exception.
Hence, I'm confused...
If you are using JT400, make sure you have the latest version and
perhaps figure out how to turn on logging.
On 6/15/2020 9:29 AM, Randy Cayton wrote:
Good morning ,
I am having an issue with an jdbc connecting to an sql server that
calls an stored procedure that pulls records from the as400. Works
good until a file is > 900,000 bytes. I get error rnx0301
(sqlexception system call received a parameter that is not valid)
and error mch6801 (object domain or storage protection error)
thanks in advance .
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
*Randy Cayton*
Senior Software Engineer, Transportation
Direct: +1 440 721-2640
<https://t.xink.io/Tracking/Index/DtsBAM8MAQB3oosA0>
--
This email and any files transmitted with it are confidential and intended
solely for the use of the addressee. If you are not the intended addressee,
then you have received this email in error and any use, dissemination,
forwarding, printing, or copying of this email is strictly prohibited.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This email has been scanned by Washington Corporations using Message Labs
Spam Filtering Technology. If this e-mail is SPAM that you no longer want
to receive, please refer to the Spam or Junk Email Handling Process (
https://washcorp.service-now.com/kb_view.do?sysparm_article=KB0011399).
If you are experiencing any other e-mail problems, please call the IT
Service Center at 855-WC-IT-NOW or x1212 from any office phone.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.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.