 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Import Data from a .CSV or .XLSX file to an AS400 file?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-import-data-from-a-csv-or-xlsx-file-to-an-as400-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-import-data-from-a-csv-or-xlsx-file-to-an-as400-file/</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 14:10:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-import-data-from-a-csv-or-xlsx-file-to-an-as400-file/#comment-76685</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 01 May 2010 01:21:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-76685</guid>
		<description><![CDATA[CPYFRMSTMF can be used, but it expects to copy each row without any conversion of the format. CPYFRMIMPF will convert each row from .CSV format to the related database format.

A .CSV file will need to be in a standard .CSV format.

A .XSLT file won&#039;t be understood by any AS/400 commands since it is specific to Excel/Windows. Note that AS/400 commands aren&#039;t alone in not knowing what a .XSLT is. Open one in Wordpad from Windows and you&#039;ll get a similar result.

You have two general choices.

First, you can study Microsoft documentation on the .XSLT format, along with any information you can gather through the internet. Then start writing programs to read and interpret .XLST files.

Or second, you can search for existing code and adapt it. This might open-source code intended for a PC, such as might be available for Open Office; or it might be specific utilities that can be downloaded and installed on your AS/400. The &lt;a href=&quot;http://poi.apache.org/spreadsheet/index.html&quot;&gt;POI/HSSF&lt;/a&gt; Java functions are by far the most common. They can be implemented because ILE RPG is capable of interfacing with Java.

Tom]]></description>
		<content:encoded><![CDATA[<p>CPYFRMSTMF can be used, but it expects to copy each row without any conversion of the format. CPYFRMIMPF will convert each row from .CSV format to the related database format.</p>
<p>A .CSV file will need to be in a standard .CSV format.</p>
<p>A .XSLT file won&#8217;t be understood by any AS/400 commands since it is specific to Excel/Windows. Note that AS/400 commands aren&#8217;t alone in not knowing what a .XSLT is. Open one in Wordpad from Windows and you&#8217;ll get a similar result.</p>
<p>You have two general choices.</p>
<p>First, you can study Microsoft documentation on the .XSLT format, along with any information you can gather through the internet. Then start writing programs to read and interpret .XLST files.</p>
<p>Or second, you can search for existing code and adapt it. This might open-source code intended for a PC, such as might be available for Open Office; or it might be specific utilities that can be downloaded and installed on your AS/400. The <a href="http://poi.apache.org/spreadsheet/index.html">POI/HSSF</a> Java functions are by far the most common. They can be implemented because ILE RPG is capable of interfacing with Java.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.053 seconds using memcached
Object Caching 267/273 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 16:03:41 -->