|
Ashish
I suggest you go to the documentation - this is not a simple topic to be
explained in a couple sentences. Here is a link to the V5R4 version on
Using Datalinks - follow the links inside the article to get more
information.
That article will tell you how to read datalinks and how to get to the
data pointed to by the link. At least, it should, if IBM is being nice
to you!
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/sqlp/rbafydatalinks.htm
Now Richard suggested you just keep the path in a text column - that's
very simple, easy to maintain, no extra servers and all. You'll have to
figure out what benefit you get from datalinks. You can send the binary
bytes of any IFS file to the browser as it requests it. Don't ask how -
I didn't write that part of our product and haven't had reason to look
at it yet!
Regards
Vern
On 10/11/2010 1:55 PM, Ashish Kulkarni wrote:
Hihow
Is there any special process we have to run on AS400 to enable datalink,
does database know to watch files in IFS folder?rules
Ashish
On Mon, Oct 11, 2010 at 2:15 PM, Christen, Duane
<Duane.Christen@xxxxxxxxxx>wrote:
I use datalinks in several applications.
It adds some overhead, the datalink database server, and some coding
towhen creating/retrieving datalinks.
The reason I use it is that you can enforce database record rules on the
linked IFS files.
In one application the IFS files must be kept for 6 months. Burning them
canoptical is not feasible because of the volume, and the short retention
period.
The datalink fit our existing process with very few code changes and we
fileenforce the retention of the IFS files through the database record.
Duane Christen
--
Duane Christen
Senior Software Engineer
(319) 790-7162
Duane.Christen@xxxxxxxxxx
Visit PAETEC.COM
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ashish Kulkarni
Sent: Friday, October 08, 2010 2:25 PM
To: Midrange Systems Technical Discussion
Subject: Store file location on IFS in datalink column
Hi
Has anyone used datalink column to store location of PDF file or any
themon IFS folder of AS400, if yes how,
we have these PDF files which are on IFS folder, so instead of saving
filesin database in blob we would like to create a datalink to these pdf
listwhich we can read and display pdf file using servlet.
--
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
.To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l
list
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
--To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.