<?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: Upload Excel file from PC to iseries</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 15:28:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109733</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 31 Jul 2012 23:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109733</guid>
		<description><![CDATA[&lt;EM&gt;...without using iseries navigator and without converting it to CSV format(Comma delimited format).&lt;/EM&gt;
&#160;
First, why is iSeries Navigator being used? Just drag/drop the file to that shared directory that you want to put the spreadsheet in to. If you prefer, just {Save} from Excel into the directory you want.
&#160;
But your example command implies that you want the data from the spreadsheet stored in a database file, and Excel spreadsheets aren&#039;t compatible with database files. The data formats must be converted. The CPYFRMIMPF command is capable of converting the intermediate .CSV file format into database formats and Excel can export spreadsheet data to .CSV format, but Excel spreadsheet .XLS files use a much more complex format that is intended to control how Excel handles the data. Other programs don&#039;t know what to do with the control data inside of .XLS files. (Open one with Notepad to get an idea how complicated they are. And Microsoft regularly adds new stuff for new versions of Excel.)
&#160;
Since .XLS files are not intended for export/import, you need to use something that is capable of handling the data conversions. If you want the data to be put into a DB2 table on your AS/400, you can use the iSeries Access add-on for Excel. It will convert the data for you.
&#160;
If the spreadsheet isn&#039;t formatted appropriately for the format of your database file, you&#039;ll need a utility function that can read the .XLS data into a program. The program can then format fields/variables as needed for database I/O. Programming might be for a PC and use ODBC (or related) methods for database work, or it could be native AS/400 programming.
&#160;
Commonly, the conversion functions use &lt;a href=&quot;http://poi.apache.org/spreadsheet/index.html&quot; rel=&quot;nofollow&quot;&gt;POI-HSSF and POI-XSSF - Java API To Access Microsoft Excel Format Files&lt;/A&gt; methods. Scott Klement has done some excellent work describing &lt;a href=&quot;http://www.scottklement.com/poi/&quot; rel=&quot;nofollow&quot;&gt;how POI/HSSF/XSSF can be used&lt;/A&gt; by AS/400 developers.
&#160;
Start by using the /root file system instead of /QDLS for uploading to your AS/400. (Alternatively, have your AS/400 directly access the .XLS file on your PC through the /QNTC file system.)
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>&#8230;without using iseries navigator and without converting it to CSV format(Comma delimited format).</em><br />
&nbsp;<br />
First, why is iSeries Navigator being used? Just drag/drop the file to that shared directory that you want to put the spreadsheet in to. If you prefer, just {Save} from Excel into the directory you want.<br />
&nbsp;<br />
But your example command implies that you want the data from the spreadsheet stored in a database file, and Excel spreadsheets aren&#8217;t compatible with database files. The data formats must be converted. The CPYFRMIMPF command is capable of converting the intermediate .CSV file format into database formats and Excel can export spreadsheet data to .CSV format, but Excel spreadsheet .XLS files use a much more complex format that is intended to control how Excel handles the data. Other programs don&#8217;t know what to do with the control data inside of .XLS files. (Open one with Notepad to get an idea how complicated they are. And Microsoft regularly adds new stuff for new versions of Excel.)<br />
&nbsp;<br />
Since .XLS files are not intended for export/import, you need to use something that is capable of handling the data conversions. If you want the data to be put into a DB2 table on your AS/400, you can use the iSeries Access add-on for Excel. It will convert the data for you.<br />
&nbsp;<br />
If the spreadsheet isn&#8217;t formatted appropriately for the format of your database file, you&#8217;ll need a utility function that can read the .XLS data into a program. The program can then format fields/variables as needed for database I/O. Programming might be for a PC and use ODBC (or related) methods for database work, or it could be native AS/400 programming.<br />
&nbsp;<br />
Commonly, the conversion functions use <a href="http://poi.apache.org/spreadsheet/index.html" rel="nofollow">POI-HSSF and POI-XSSF &#8211; Java API To Access Microsoft Excel Format Files</a> methods. Scott Klement has done some excellent work describing <a href="http://www.scottklement.com/poi/" rel="nofollow">how POI/HSSF/XSSF can be used</a> by AS/400 developers.<br />
&nbsp;<br />
Start by using the /root file system instead of /QDLS for uploading to your AS/400. (Alternatively, have your AS/400 directly access the .XLS file on your PC through the /QNTC file system.)<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109731</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 31 Jul 2012 21:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109731</guid>
		<description><![CDATA[First three steps:
&#160;
1. Stop
2. Using
3. QDLS
&#160;
It&#039;s been maybe 15 years since /QDLS was a viable networking solution. The whole world and especially AS/400s have long since left /QDLS technology behind. The days of DOS file systems and DOS networking effectively no longer exist. If you&#039;re using any version of Excel or Windows that is from this century, and if your AS/400 OS version is newer than V3R2, then /QDLS should simply be forgotten.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>First three steps:<br />
&nbsp;<br />
1. Stop<br />
2. Using<br />
3. QDLS<br />
&nbsp;<br />
It&#8217;s been maybe 15 years since /QDLS was a viable networking solution. The whole world and especially AS/400s have long since left /QDLS technology behind. The days of DOS file systems and DOS networking effectively no longer exist. If you&#8217;re using any version of Excel or Windows that is from this century, and if your AS/400 OS version is newer than V3R2, then /QDLS should simply be forgotten.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NickHutcheson1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109726</link>
		<dc:creator>NickHutcheson1</dc:creator>
		<pubDate>Tue, 31 Jul 2012 19:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109726</guid>
		<description><![CDATA[This is one.&#160; &amp;LOADHDR is preloaded as VALUE(&#039;/HOME/path/out/LoadMaster_&#039; &#124;&#124; +&amp;DATETIME &#124;&#124; &#039;.CSV&#039;)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CPYTOIMPF&#160; FROMFILE(LIB/LODHHF) TOSTMF(&amp;LOADHDR) +&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MBROPT(*REPLACE) STMFCODPAG(*PCASCII) +&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; RCDDLM(*CR) DTAFMT(*DLM) DATFMT(*ISO) +&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; TIMFMT(*ISO)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]]></description>
		<content:encoded><![CDATA[<p>This is one.&nbsp; &amp;LOADHDR is preloaded as VALUE(&#8216;/HOME/path/out/LoadMaster_&#8217; || +&amp;DATETIME || &#8216;.CSV&#8217;)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPYTOIMPF&nbsp; FROMFILE(LIB/LODHHF) TOSTMF(&amp;LOADHDR) +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MBROPT(*REPLACE) STMFCODPAG(*PCASCII) +&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RCDDLM(*CR) DTAFMT(*DLM) DATFMT(*ISO) +&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIMFMT(*ISO)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rickmcd</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109723</link>
		<dc:creator>Rickmcd</dc:creator>
		<pubDate>Tue, 31 Jul 2012 18:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109723</guid>
		<description><![CDATA[If you have Client Access why not use Excel addins?]]></description>
		<content:encoded><![CDATA[<p>If you have Client Access why not use Excel addins?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109716</link>
		<dc:creator>Splat</dc:creator>
		<pubDate>Tue, 31 Jul 2012 15:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/upload-excel-file-from-pc-to-iseries/#comment-109716</guid>
		<description><![CDATA[If you want to avoid using Navigator you might be better served by using the IFS rather than QDLS.&#160; Create and share a folder in the IFS root, then put your file in the shared folder.]]></description>
		<content:encoded><![CDATA[<p>If you want to avoid using Navigator you might be better served by using the IFS rather than QDLS.&nbsp; Create and share a folder in the IFS root, then put your file in the shared folder.</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.036 seconds using memcached
Object Caching 323/329 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 16:19:14 -->