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



Hey Dieter, thanks for your comments. I am exploring your work on
AppServer4RPG.
Java knowledge is no problem at all. Embedded RPG has been my essential
experience for many years, even ILE C programming has been too.
You have said the exact intention: pull up the image's binary stream, put
it on an IFS folder and then send it back as MIME type "image/jpeg" or
whatever, either by sending the whole stream or by a "Location" http
header. There are options for that.

Testing your tool is what I'd like to do. What I would need is, where can
I find more information, as sample usage code? Is that in the same
project's site?

Thank you very much!

JS

El sáb, 13 ene 2024 a las 2:59, Dsternb (<dieter.bender@xxxxxxxxxxxx>)
escribió:

@ArdGate (AppServer4RPG)
ArdGate is based on IBM's "client integration exit" and this doesn't
support
BLOB/CLOB. As a conclusion of this you can't get images with embedded SQL
via ArdGate.
@Infosphere: this would need an additional p-series as server in the
middle - and might be very expensive, ask your ibm representive.

Using RPG/Java Mix via JNI (Scoott's open source included), you should
have
in mind, that starting a JVM is time consuming and starting lots of JVMs
limits scalability. AppServer4RPG is a Framework to make calls from RPG to
a
single prestarted JVM with high speed and (nearly) unlimited scalability.
It
could be extended for your needs - but Java knowledge is a must have.

There is a work around with ArdGate: use embedded SQL from RPG to put the
image in a temporary streamfile on a shared drive to move it from MSSQL to
your AS400 (or i or whatever). Some MS SQL knowledge would be needed
anyway.

Assistance would be possible, but might need some money, depending on
effort.

Maybe MS SQL linked server could be another option.

D*B

<Charles>
To connect from IBM i to SQL Server all you need is a JDBC type 4 driver
for MS SQL Server...

Then you have to decide how to invoke it
- From a Java program
- through a DRDA Gateway
- Directly from RPG

I wouldn't recommend the last option.

For the second option, you've got the following choices...
purchasing and installing an external IBM Infosphere Federation Server
Or locally install on your i a DRDA Gateway product
- the commercial https://razlee.com/isecurity-db-gate/
- the open source https://sourceforge.net/projects/appserver4rpg/
</Charles>


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.