Qyestion about defining a CLOB 1M field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kcanterbury
    New Member
    • Jan 2010
    • 1

    Qyestion about defining a CLOB 1M field

    I am trying to insert a CLOB data field (1M in size) into an Oracle table using a COBOL DB/2 program. I have an alius in DB2 set up for the Oracle table. The field is defined as TYPE is CLOB(1M) in both the DCLGEN and the Working Storage Copybook. However, I keep receiving a -311 SQLCode saying that the size is inconsistent. Do I need a size parameter as in VARCHAR?
Working...