 




<?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: Transfer Data from iSeries to Excel</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 23:07:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: donethat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54265</link>
		<dc:creator>donethat</dc:creator>
		<pubDate>Sat, 28 Jun 2008 22:37:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-54265</guid>
		<description><![CDATA[You want to upload/download directly from DB2 to Excel - no intermediate processes. To do this you must set up and ODBC connection and then you can suck the data VERY simply using SQL.

Unfortunately, my VBA code is extremely complex and based on variables so I can&#039;t paste anything useful here.

Buy this book from MC Press Online: i5/OS and MS Office Integration Handbook by Chris Peters, Brian Singleton.

It has the EXACT VBA code you need to do the job. I.E. Connect to DB2 and populate a spreadsheet starting at any cell.

The code is basic, simple and works. You can then build and modify as necessary.

Hope this helps.]]></description>
		<content:encoded><![CDATA[<p>You want to upload/download directly from DB2 to Excel &#8211; no intermediate processes. To do this you must set up and ODBC connection and then you can suck the data VERY simply using SQL.</p>
<p>Unfortunately, my VBA code is extremely complex and based on variables so I can&#8217;t paste anything useful here.</p>
<p>Buy this book from MC Press Online: i5/OS and MS Office Integration Handbook by Chris Peters, Brian Singleton.</p>
<p>It has the EXACT VBA code you need to do the job. I.E. Connect to DB2 and populate a spreadsheet starting at any cell.</p>
<p>The code is basic, simple and works. You can then build and modify as necessary.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bigmac46</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54251</link>
		<dc:creator>bigmac46</dc:creator>
		<pubDate>Fri, 27 Jun 2008 16:13:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-54251</guid>
		<description><![CDATA[You can create a menu option on the 400 to call a CLLE that :
1. runs a remote command on the PC to do the transfer to an excel file.Path on pc to  the transfer is needed.
2.run another remote command to  Open EXCEL with the specfic file created. 
3. then, if needed, signoff the user from the 400 

 Then you can do what ever is needed in EXCEL. 

It must be done interactive not batch.
We use this method on a regular basis. If the  processing needed to create info for the download we send a mesage to user tthat the file is ready and to take the transfer option.
Set the transfer to auto run automatically and the user just waits a few seconds depending on length it takes transfer to run. 
 &lt;pre&gt;
 PGM                                                         
       DCL        VAR(&amp;STRCMD) TYPE(*CHAR) LEN(55) +         
                    VALUE(&#039;C:\DOWNLOAD\Transfer1.DTF&#039;)       
       DCL        VAR(&amp;PCCMD) TYPE(*CHAR) LEN(55)            
       STRPCO     PCTA(*NO)                                  
       MONMSG     MSGID(IWS4010)                             
       STRPCCMD   PCCMD(&amp;STRCMD) PAUSE(*NO)                  
        STRPCO PCTA(*NO)                                      
       MONMSG MSGID(IWS4010)                                 
       STRPCCMD   PCCMD(&#039;START C:\DOWNLOAD\EXCEL1.xls&#039;) +  
                    PAUSE(*NO)                               
 ENDPGM&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>You can create a menu option on the 400 to call a CLLE that :<br />
1. runs a remote command on the PC to do the transfer to an excel file.Path on pc to  the transfer is needed.<br />
2.run another remote command to  Open EXCEL with the specfic file created.<br />
3. then, if needed, signoff the user from the 400 </p>
<p> Then you can do what ever is needed in EXCEL. </p>
<p>It must be done interactive not batch.<br />
We use this method on a regular basis. If the  processing needed to create info for the download we send a mesage to user tthat the file is ready and to take the transfer option.<br />
Set the transfer to auto run automatically and the user just waits a few seconds depending on length it takes transfer to run. </p>
<pre>
 PGM                                                         
       DCL        VAR(&amp;STRCMD) TYPE(*CHAR) LEN(55) +         
                    VALUE('C:\DOWNLOAD\Transfer1.DTF')       
       DCL        VAR(&amp;PCCMD) TYPE(*CHAR) LEN(55)            
       STRPCO     PCTA(*NO)                                  
       MONMSG     MSGID(IWS4010)                             
       STRPCCMD   PCCMD(&amp;STRCMD) PAUSE(*NO)                  
        STRPCO PCTA(*NO)                                      
       MONMSG MSGID(IWS4010)                                 
       STRPCCMD   PCCMD('START C:\DOWNLOAD\EXCEL1.xls') +  
                    PAUSE(*NO)                               
 ENDPGM</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54225</link>
		<dc:creator>cwc</dc:creator>
		<pubDate>Thu, 26 Jun 2008 21:56:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-54225</guid>
		<description><![CDATA[How about recording a macro -- does that semi-fit into what you&#039;re wanting to do?]]></description>
		<content:encoded><![CDATA[<p>How about recording a macro &#8212; does that semi-fit into what you&#8217;re wanting to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mblair.au</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54187</link>
		<dc:creator>mblair.au</dc:creator>
		<pubDate>Thu, 26 Jun 2008 02:28:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-54187</guid>
		<description><![CDATA[Hi everyone,

I am still looking for an answer to this question.
The above code does not answer my question at all.  I am NOT looking how to copy file contents into Excel, and I am not looking for Delphi Code.

The Transfer Data from iSeries is an ADD-IN to Excel.  This allows us to connect directly to the AS/400 and transfer data to populate directly into Excel.
I want to automate the add-in basically.
Can anyone help me?

Cheers,
Mike.]]></description>
		<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>I am still looking for an answer to this question.<br />
The above code does not answer my question at all.  I am NOT looking how to copy file contents into Excel, and I am not looking for Delphi Code.</p>
<p>The Transfer Data from iSeries is an ADD-IN to Excel.  This allows us to connect directly to the AS/400 and transfer data to populate directly into Excel.<br />
I want to automate the add-in basically.<br />
Can anyone help me?</p>
<p>Cheers,<br />
Mike.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mblair.au</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54105</link>
		<dc:creator>mblair.au</dc:creator>
		<pubDate>Mon, 23 Jun 2008 05:59:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-54105</guid>
		<description><![CDATA[Hi guys,

Thanks for the answers, but both dont appear to be exactly what I am looking for.

I have an excel spreadsheet that has some VBA code to process the data that is populated by the Transfer from iSeries.  The data is manipulated quite a bit inthe excel sheet, and then multiple files are created from this data and named according to some of the fields that are transferred.

So the current process is:
Log in to AS/400
Navigate to correct Menu
Enter details of data to extract using custom program
Log off AS/400
Open Excel Spreadsheet
Transfer data from iSeries
Click button on spreadsheet to process data

DONE.

It would be great if I can automate the transfer from iseries of data (not a file) within Excel.

So, if anyone has done any coding within VBA to replace the manual clicking etc of the Excel Add-in to transfer data that&#039;s what I am after.

Open to other ways of doing this same task though...so all information greatly appreciated.

NOTE:  I am NOT an AS/400 person...I know about Windows boxes...

Thanks team.

Cheers,
Mike.]]></description>
		<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Thanks for the answers, but both dont appear to be exactly what I am looking for.</p>
<p>I have an excel spreadsheet that has some VBA code to process the data that is populated by the Transfer from iSeries.  The data is manipulated quite a bit inthe excel sheet, and then multiple files are created from this data and named according to some of the fields that are transferred.</p>
<p>So the current process is:<br />
Log in to AS/400<br />
Navigate to correct Menu<br />
Enter details of data to extract using custom program<br />
Log off AS/400<br />
Open Excel Spreadsheet<br />
Transfer data from iSeries<br />
Click button on spreadsheet to process data</p>
<p>DONE.</p>
<p>It would be great if I can automate the transfer from iseries of data (not a file) within Excel.</p>
<p>So, if anyone has done any coding within VBA to replace the manual clicking etc of the Excel Add-in to transfer data that&#8217;s what I am after.</p>
<p>Open to other ways of doing this same task though&#8230;so all information greatly appreciated.</p>
<p>NOTE:  I am NOT an AS/400 person&#8230;I know about Windows boxes&#8230;</p>
<p>Thanks team.</p>
<p>Cheers,<br />
Mike.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54088</link>
		<dc:creator>cwc</dc:creator>
		<pubDate>Fri, 20 Jun 2008 18:13:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-54088</guid>
		<description><![CDATA[Consider using the CPYTOIMPF command as well, where you can take a physical file and copy it to the IFS as an ASCII, comma separated variable file.  Even though it wouldn&#039;t be an .XLS formatted file, Excel can open it just fine and then it could be saved by the user as an .XLS later, if they desire.  

If you want to transfer the file from the IFS to another server on your network, there are many ways to do this, including FTP, or mapping that network directory to the IFS, among others.]]></description>
		<content:encoded><![CDATA[<p>Consider using the CPYTOIMPF command as well, where you can take a physical file and copy it to the IFS as an ASCII, comma separated variable file.  Even though it wouldn&#8217;t be an .XLS formatted file, Excel can open it just fine and then it could be saved by the user as an .XLS later, if they desire.  </p>
<p>If you want to transfer the file from the IFS to another server on your network, there are many ways to do this, including FTP, or mapping that network directory to the IFS, among others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graybeard52</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/transfer-data-from-iseries-to-excel-2/#comment-54057</link>
		<dc:creator>graybeard52</dc:creator>
		<pubDate>Thu, 19 Jun 2008 21:30:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-54057</guid>
		<description><![CDATA[My favorite options for doing this:

1. To start transfer from PC, use  rxferpcb.exe  (installed with iSeries Access)

2. To start transfer from iSeries, use  CVTPFXLS  (you can download from http://www.geocities.com/SiliconValley/Pines/5581/tips.htm

There are a number of other ways and pgms, but these are easy and free.]]></description>
		<content:encoded><![CDATA[<p>My favorite options for doing this:</p>
<p>1. To start transfer from PC, use  rxferpcb.exe  (installed with iSeries Access)</p>
<p>2. To start transfer from iSeries, use  CVTPFXLS  (you can download from <a href="http://www.geocities.com/SiliconValley/Pines/5581/tips.htm" rel="nofollow">http://www.geocities.com/SiliconValley/Pines/5581/tips.htm</a></p>
<p>There are a number of other ways and pgms, but these are easy and free.</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.012 seconds using memcached
Object Caching 352/355 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 00:14:47 -->