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 />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

Table 19. From-file and to-file mapping between variable-length data types and 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 />

VARLEN Either CLOB Y Either Open Different Yes<br />

VARLEN Only CLOB Y Only Open Different Yes<br />

VARLEN<br />

Graphic<br />

CLOB Y Graphic Open Different Yes<br />

VARLEN UCS2 CLOB Y UCS2 Open Different Yes<br />

VARLEN<br />

Character<br />

DBCLOB N Character Graphic Different –<br />

VARLEN Open DBCLOB Y Open Graphic Different Yes<br />

VARLEN Either DBCLOB Y Either Graphic Different Yes<br />

VARLEN Only DBCLOB Y Only Graphic Different Yes<br />

VARLEN<br />

Graphic<br />

DBCLOB Y Graphic Graphic Same/DifferentNo/Yes<br />

VARLEN UCS2 DBCLOB Y UCS2 Graphic Different Yes<br />

VARLEN<br />

Character<br />

DBCLOB Y Not 65535 UCS2 Different Yes<br />

VARLEN Open DBCLOB Y Not 65535 UCS2 Different Yes<br />

VARLEN Either DBCLOB Y Not 65535 UCS2 Different Yes<br />

VARLEN Only DBCLOB Y Not 65535 UCS2 Different Yes<br />

VARLEN<br />

Graphic<br />

DBCLOB Y Graphic UCS2 Different Yes<br />

VARLEN UCS2 DBCLOB Y UCS2 UCS2 Same/DifferentNo/Yes<br />

VARLEN<br />

Character<br />

DBCLOB N 65535 UCS2 Different –<br />

VARLEN Open DBCLOB N 65535 UCS2 Different –<br />

VARLEN Either DBCLOB N 65535 UCS2 Different –<br />

VARLEN Only DBCLOB N 65535 UCS2 Different –<br />

Copying between different systems<br />

You can use the following commands to import (load) or export (unload) data to<br />

and from AS/400:<br />

v Copy From Import <strong>File</strong> (CPYFRMIMPF) command See “Using the Copy From<br />

Import <strong>File</strong> (CPYFRMIMPF) command to copy between different systems” on<br />

page 140 for more information.<br />

v Copy To Import <strong>File</strong> (CPYTOIMPF) command See “Using the Copy To Import<br />

<strong>File</strong> (CPYTOIMPF) command to copy between different systems” on page 140 for<br />

more information.<br />

Chapter 4. Copying files 139

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

Saved successfully!

Ooh no, something went wrong!