 




<?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: Java to file system in AS/400</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/java-to-file-system-in-as400/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/java-to-file-system-in-as400/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 07:47:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: hmssl2k</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/java-to-file-system-in-as400/#comment-89867</link>
		<dc:creator>hmssl2k</dc:creator>
		<pubDate>Wed, 23 Mar 2011 21:20:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-89867</guid>
		<description><![CDATA[Could be a good time to ask your your teacher in the classroom.]]></description>
		<content:encoded><![CDATA[<p>Could be a good time to ask your your teacher in the classroom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/java-to-file-system-in-as400/#comment-89797</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 22 Mar 2011 19:01:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-89797</guid>
		<description><![CDATA[&lt;i&gt;...running in as400 application server.&lt;/i&gt;

According to that, your Java program is running on the AS/400.

&lt;i&gt;I want to read from a excel file in the local pc (C:/abc.xls or //as400sys/approvals/qdls/abcflr/abc.xls) .&lt;/i&gt;

And according to that, you are expecting to read either from the C: drive or from a Windows Network share of a folder in your AS/400&#039;s QDLS file system..

&lt;i&gt;my java class don&#039;t see my excel file in C:&lt;/i&gt;

Since your AS/400 doesn&#039;t have a C: drive, your Java will never find a C: drive if it runs on the AS/400. You would have to share your C: drive out to the Windows Network and have a Windows profile and password defined on your PC that matches the profile and password that your Java runs under. Your AS/400 would need to be configured to connect to the same Windows domain that your PC shares into. Then, the path would need to be specified as a /QNTC path out to your PC,s share name.

For the &lt;i&gt;//as400sys/approvals/qdls/abcflr/abc.xls&lt;/i&gt; path, you should try simply /qdls/abcflr/abc.xls, but that&#039;s not a good idea. Your file shouldn&#039;t be in the /QDLS file system; it should be in a directory under the /root file system instead. There are too many difficulties in connecting Java with /QDLS, not to mention the poor performance issues and near obsolescence of /QDLS. (Actually, you&#039;d be better off never using /QDLS again.)

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;running in as400 application server.</i></p>
<p>According to that, your Java program is running on the AS/400.</p>
<p><i>I want to read from a excel file in the local pc (C:/abc.xls or //as400sys/approvals/qdls/abcflr/abc.xls) .</i></p>
<p>And according to that, you are expecting to read either from the C: drive or from a Windows Network share of a folder in your AS/400&#8242;s QDLS file system..</p>
<p><i>my java class don&#8217;t see my excel file in C:</i></p>
<p>Since your AS/400 doesn&#8217;t have a C: drive, your Java will never find a C: drive if it runs on the AS/400. You would have to share your C: drive out to the Windows Network and have a Windows profile and password defined on your PC that matches the profile and password that your Java runs under. Your AS/400 would need to be configured to connect to the same Windows domain that your PC shares into. Then, the path would need to be specified as a /QNTC path out to your PC,s share name.</p>
<p>For the <i>//as400sys/approvals/qdls/abcflr/abc.xls</i> path, you should try simply /qdls/abcflr/abc.xls, but that&#8217;s not a good idea. Your file shouldn&#8217;t be in the /QDLS file system; it should be in a directory under the /root file system instead. There are too many difficulties in connecting Java with /QDLS, not to mention the poor performance issues and near obsolescence of /QDLS. (Actually, you&#8217;d be better off never using /QDLS again.)</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 6/9 queries in 0.016 seconds using memcached
Object Caching 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 08:03:07 -->