External file formats and format files supported by the DB2 database

Source: Internet
Author: User

This article mainly describes the external file formats supported by the DB2 database.IIDo you want to explain the external file formats supported by the DB2 database?IIIs it a headache for the actual operations of formatted files? If this is the case, the following articles will provide you with corresponding solutions.

We all know that some work in DB2 database maintenance may need to be handled frequently. For example, before the database is put into production and use, a large amount of information needs to be created in the database. This step is done by importing data directly from a file to the database system.

Description of the external file formats supported by DB2 database: binary files.

These two types of files share a common feature, that is, they are not stored in binary format. For this reason, they will encounter a compatibility file during the application. For example, a table is exported as an ASCII file on the Linux operating system. On the Windows operating system platform, the file cannot be imported to the DB2 database system. It is mainly because ASCII files are stored in different operating systems (such as Linux or Windows) in different formats.

Therefore, it is impossible to export data on different operating systems through ASCII files. In fact, not only does the DB2 database have such troubles, but also does the Oracle database.

To solve the problem, an external file in binary format is involved in the DB2 database. There are two types of data files in the binary format: PC integrated exchange format and work form format. PC integrated exchange format files are mainly used for data transmission between DB2 database tables on different operating systems, such as Linux and Windows operating systems. That is, the binary file in this format can be used to import data from the database on the Linux operating system, and then import the data to the DB2 database on the Windows operating system.

This file stores not only recorded content, but also table structure definitions. In addition, files in binary format can be easily transferred on different operating systems without worrying about compatibility issues.

Another binary file format is the work form format. This is also a special format file for DB2 database products. The purpose of this work form format file is different from that of the PC integrated Interchange Format File. The PC integrated exchange format file is mainly used to solve the compatibility issues during data migration on different operating system platforms.

This work form format file is mainly used to migrate data between different DB2 products, such as data migration between DB2 database and Lotus products. Although they are also binary files, they are used differently. For this reason, the database administrator needs to select the appropriate file format based on different purposes.

The above content is a description of the external file formats supported by the DB2 database. I hope it will help you in this regard.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.