30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

Table 17. From-file and to-file mapping when both fields are large objects (continued)<br />

Field A type Field B type Allowed and Data CCSID or attributes CCSIDs Conversion<br />

copy direction<br />

Field A Field B<br />

translation<br />

performed<br />

CLOB CLOB Y Character Character Different Yes<br />

CLOB CLOB Y Open Open Different Yes<br />

DBCLOB DBCLOB Y Graphic Graphic Different Yes<br />

DBCLOB DBCLOB Y UCS2 UCS2 Different Yes<br />

CLOB CLOB Y Character Open Different Yes<br />

CLOB DBCLOB N Character Graphic Different —<br />

CLOB DBCLOB Y Open Graphic Different Yes<br />

CLOB DBCLOB Y Character UCS2 Different Yes<br />

CLOB DBCLOB Y Open UCS2 Different Yes<br />

DBCLOB DBCLOB Y Graphic UCS2 Different Yes<br />

BLOB CLOB Y 65535 Character Different No<br />

BLOB CLOB Y 65535 Open Different No<br />

BLOB DBCLOB N 65535 Graphic Different —<br />

BLOB DBCLOB N 65535 UCS2 Different —<br />

Note: * These mappings are valid for FMTOPT(*MAP), FMTOPT(*NONE), and FMTOPT(*DROP).<br />

The second table shows the mapping between fixed-length data types and large<br />

objects.<br />

Table 18. From-file and to-file mapping between fixed-length data types and large objects<br />

Field A type Field B type Allowed and Data CCSID or attributes CCSIDs Conversion<br />

copy direction<br />

Field A Field B<br />

translation<br />

performed<br />

Character BLOB Y Character 65535 Different No<br />

Open BLOB Y Open 65535 Different No<br />

Either BLOB Y Either 65535 Different No<br />

Only BLOB Y Only 65535 Different No<br />

Graphic BLOB N Graphic 65535 Different —<br />

UCS2 BLOB N UCS2 65535 Different —<br />

Character CLOB Y Character Character Same/DifferentNo/Yes<br />

Open CLOB Y Open Character Different Yes<br />

Either CLOB Y Either Character Different Yes<br />

Only CLOB Y Only Character Different Yes<br />

Graphic CLOB N Graphic Character Different —<br />

UCS2 CLOB Y UCS2 Character Different Yes<br />

Character CLOB Y Character Open Different Yes<br />

Open CLOB Y Open Open Same/DifferentNo/Yes<br />

Either CLOB Y Either Open Different Yes<br />

Only CLOB Y Only Open Different Yes<br />

Graphic CLOB Y Graphic Open Different Yes<br />

UCS2 CLOB Y UCS2 Open Different Yes<br />

Chapter 4. Copying files 137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!