Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
You can make this by small 4gl aplication. Look at chapter about
blobs.
main
DEFINE mtxt RECORD LIKE tablewithdata.*
LOCATE mtxt.pictureField IN FILE <fileName.jpg>
select *
into mtx.*
from tablewithdata
where ....
free mtx.picturefield
end main
On Thu, 16 Dec 2004 13:16:23 -0600, "Rajesh Kapur" <rkapur@mpr.org>
wrote:
>I have a vendor supplied application. The images (JPG format) are stored in
>a byte field within IDS 9.4 database. I need to download these images to
>individual jpg files to be served as static content. I used the unload
>command in dbaccess. The resulting file has binary data. I ftp'd the file to
>the desktop in the binary mode. The file does not open with the windows
>viewer. The error message is ... 'no preview available'. I do not have any
>experience working with byte fields. Can someone please point me in the
>right direction?.... Thanks! Rajesh
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.