Manage Learn to apply best practices and optimize your operations.

Reading a binary field in an Oracle database with LotusScript

Use this LotusScript code to read a binary field in an Oracle database, allowing you to find Microsoft Word documents, spreadsheets, PDFs and JPEG files.

This LotusScript code can be used to read a binary field from an Oracle database. This field can generally contain any type of file, for example:

Related resources from
An introduction to Lotus Enterprise Integrator (LEI)

Top 10 LotusScript tips

LotusScript Reference Center

  • Microsoft Word documents (.doc)
  • Excel spreadsheets (.xls)
  • PDF files (.pdf)
  • JPEG images (.jpg)

The following code shows how to recover a JPEG image (.jpg file).

LotusScript to read binary fields in an Oracle database
(Click on code for enlarged view and script download.)

Do you have comments on this tip? Let us know.

This tip was submitted to the tip library by member Rodrigo Oliveira. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on LotusScript



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...