|
-----Original Message----- From: Rob Berendt <rob@dekko.com> To: MIDRANGE-L@midrange.com <MIDRANGE-L@midrange.com> Date: Wednesday, December 08, 1999 3:33 PM Subject: BLOB >Anyways let's say I get this to work. How do I get data into the BLOB field? >For example let's say that I have the drawing in the IFS as a *.bmp file. > Let's see... if you are using DB2 V5 and up, you just hand it the file handle. The system does the rest. On OS/400, you can use a locator and id the file. The file is then tracked by the system without really moving the data. Locators only exist for the transaction. On OS/400, you can use a DataLink to manipulate the data also. This is a URL or path and file name that is used to id the LOB and move it at the appropriate times. Look at the DLVALUE function for more information. DataLinks are explained in the DB2 UDB for AS400 Programming Guide, about page 180. =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified AS/400 Professional System Administrator -- IBM Certified AS/400 Professional Network Administrator "The sum of all human knowledge is a fixed constant. It's the population that keeps growing!" +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@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.