Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007

    Unanswered: How to insert data into CLOB/BLOB field

    Hi All
    I would like to know, how to insert data (A Word Doc, XLS sheet) into a column which is declared as CLOB/BLOB on Z/oS.

    We have a DB2 in Mainframe that has a column defined to support Large Objects. Would like a Script that would enable us to upload a WORD DOCUMENT or XLS or PPT etc. to the table.

    Thanks in Anticipation

  2. #2
    Join Date
    Jan 2007
    Jena, Germany
    There is nothing special about LOBs. Just use a regular INSERT statement for that.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

  3. #3
    Join Date
    Apr 2006
    Provided Answers: 11
    you can do this with import and replace the lob value by the path to the file to be loaded in the lob-col
    import ... modified by lobsinfile ... has to be used for this
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts