Parse online RSS feeds and save to DB2

by

Want to parse online RSS feeds and save to DB2 ? Want to schedule and automate this importing task?

Try Withdata FileToDB, a desktop RSS to DB2 converter for Windows, MacOS, and Linux, Import online RSS feeds to DB2, Easy and Fast.

Download Withdata FileToDB Download FileToDB

Import online RSS feeds to DB2

Choose DB2 and logon.

convert online FEED file to DB2 table - Choose DB2 and logon

Click “Wizard – 1 File To 1 Table” at task dialog.

convert online FEED file to DB2 table - task window

Select “Source Type” with “Url”.

convert online FEED file to DB2 table - select type

then show the wizard.

1. Input the RSS feeds URL, and download to XML file.

import online RSS feeds to DB2 - download from RSS feeds URL to XML file

2. Open the saved XML file.

import online RSS feeds to DB2 - open saved XML file

3. Config target DB2 table.

import online RSS feeds to DB2 - config DB2 table

You can create new DB2 table by XML struct, just a few mouse clicks.

import online RSS feeds to DB2 - create DB2 table

Select table and config fields.

import online RSS feeds to DB2 - config DB2 fields

4. Preview data will be in DB2 table.

import online RSS feeds to DB2 - summary

5. Import RSS feed to DB2.

import online RSS feeds to DB2 - import to DB2

See importing results in DB2 table

import online RSS feeds to DB2 - view  DB2 table


More about XML (RSS) to DB2 converter

RSS → DB2 reference

Type mapping

Value kindin RSSin DB2
Int<int>1234</int> or a child elementINTEGER
Bigint<bigint>9007199254740993</bigint>BIGINT
Decimal<decimal>1234.56</decimal>DECIMAL(p,s)
Float<float>1.234e10</float>DOUBLE
Text<title>text</title>VARCHAR(n)
Long text<description>text</description>, usually wrapped in CDATACLOB
Date<pubDate>Mon, 18 Sep 2026 00:00:00 GMT</pubDate> (RFC 822)DATE
Datetime<pubDate>Mon, 18 Sep 2026 14:30:00 GMT</pubDate> (RFC 822)TIMESTAMP
Binaryan enclosure URL, never inline bytesBLOB
Booleannot part of the feed vocabularySMALLINT
JSONnot part of the feed vocabularyCLOB

Dialect differences

RSS is a file format and DB2 is a database server, so the target has to be told the types the file never carried - the rows below are where the two sides diverge.

Propertyin RSSin DB2
port—50000
identifiersXML quoting; content is usually escaped in CDATA"double quotes"
row limit—FETCH FIRST n ROWS
datesRFC 822 text, for example Mon, 18 Sep 2026 14:30:00 GMTDATE, TIME, TIMESTAMP
long text—CLOB
binaryVia enclosure URLs, not inlineBLOB
separatorXML elements—
encodingDeclared in the XML declaration—
typingNone—
shapeChannel plus repeated <item> elementsTables of rows and columns
ceilingA feed is a window on recent items, not a full data set—

Command line

SideCommand
DB2EXPORT TO out.csv OF DEL
DB2 (load)db2 IMPORT FROM file OF DEL

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.