TEMPLATE lobpds DSN 'name1.name2.&ts.' DSNTYPE(PDS) UNIT(SYSDA)
UNLOAD DATA FROM TABLE creator.name ( spalte1 type1 , spalte2 type2 , CLOBSPALTE1 VARCHAR(nnn) CLOBF lobpds , CLOBSPALTE2 VARCHAR(nnn) CLOBF lobpds , spalte3 type3 ... ) |
LOAD DATA […] INTO TABLE creator.name ( spalte1 POSITION(von:bis) type1 NULLIF(position)=X'FF' , spalte2 POSITION (von:bis) type2 NULLIF(position)=X'FF' , CLOBSPALTE1 POSITION(von:bis) VARCHAR CLOBF NULLIF(position)=X'FF' , CLOBSPALTE1 POSITION(von:bis) VARCHAR CLOBF NULLIF(position)=X'FF' , spalte3 POSITION (von:bis) type3 NULLIF(position)=X'FF' , … ) |
**************************************** START OF DATA ******************************************************** .testrow1col1 .testrow1col2 ...name1.name2.lobspace1(BJ5Z2C3W) ...name1.name2.lobspace2(BJ5Z2C3W) .testrow1col3 .testrow2col1 .testrow2col2 ...name1.name2.lobspace1(BJ5Z2DKK) ...name1.name2.lobspace2(BJ5Z2DKK) .testrow2col3 .testrow3col1 .testrow3col2 ...name1.name2.lobspace1(BJ5Z2DVW) ...name1.name2.lobspace2(BJ5Z2DVW) .testrow3col3 ***************************************** END OF DATA ********************************************************* |
Zurück zu DB2 | Home | Impressum / Datenschutz |