 




<?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: AS/400 FTP</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/ftp-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/ftp-5/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 17:28:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: devan</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ftp-5/#comment-60899</link>
		<dc:creator>devan</dc:creator>
		<pubDate>Tue, 17 Mar 2009 12:19:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-60899</guid>
		<description><![CDATA[Hi  Martin

 

I’m not sure how to do it.

 

Here is the processes I am following:-

 On the AS400 
_________________________________________________________________
File  . . . . . .   QCLSRC                                                     

   Library . . . .     DEVAN                Position to  . . . . .              

                                                                                

 Type options, press Enter.                                                     

  2=Edit         3=Copy  4=Delete 5=Display       6=Print     7=Rename          

  8=Display description  9=Save  13=Change text  14=Compile  15=Create module...

                                                                                

 Opt  Member      Type        Text                                              

      

      ORDDCLP     CLP         ORD - FTP the information from orderwise          

      ORDDFTP     TXT         ORD - FTP the daily info from orderwise server    

      ORDDLOG  

      ORDCLPFTP   CLP    ORD - FTP the inform from orderwise                                                                           

      ORDFTP      TXT         ORD - FTP the daily info from orderwise server    

      ORDLOG           

 _________________________________________________________



CL PROGRAM – ORDDCLP   looks like this

 

 

PGM                                                      

                                                        

DCLF       FILE(ORDDLOG)                                 

                                                        

RMVM       FILE(DEVAN/QCLSRC) MBR(ORDDLOG)               

MONMSG     MSGID(CPF0000)                                

OVRDBF     FILE(INPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDDFTP) 

OVRDBF     FILE(OUTPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDDLOG)

FTP        RMTSYS(&#039;196.14.119.10&#039;)                                                                                

 

 _____________________________________________________


   ORDDFTP looks like this

 

    user dmaistry dmaistry    

   cd orders              

   dir                    

   QUIT                   

 

 __________________________________

 

 
 ORDDLOG 

 

0001.00 Output redirected to a file.                                     

0002.00 Input read from specified override file.                         

0003.00 Connecting to remote host 196.14.119.10 using port 21.           

0004.00 220 FTPSERVER Microsoft FTP Service (Version 5.0).               .                                         

0011.00 &gt; user DMAISTRY *******                                 

0012.00 331 Password required for DMAISTRY.                     

0013.00 230 User DMAISTRY logged in.                            

0014.00 Windows_NT version 5.0                                

0015.00 Enter an FTP subcommand.                              

0016.00 &gt; cd orders                                           

0017.00 250 CWD command successful.                           

0018.00 Enter an FTP subcommand.                              

0019.00 &gt; dir                                                 

0020.00 227 Entering Passive Mode (196,14,119,10,8,97).       

0021.00 125 Data connection already open; Transfer starting.  

0022.00 03-13-09  10:03AM                  217 5B55FE64.ORD   

0023.00 226 Transfer complete.                                                             

0024.00 Enter an FTP subcommand. 

0025.00 &gt; QUIT                   

0026.00 221                                                      

 

 

Now I use ORDCLPFTP

 

 


 

 

  PGM                                                     

 

RMVM       FILE(DEVAN/QCLSRC) MBR(ORDLOG)               

MONMSG     MSGID(CPF0000)                               

OVRDBF     FILE(INPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDFTP) 

OVRDBF     FILE(OUTPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDLOG)

FTP        RMTSYS(&#039;196.14.119.10&#039;)                      

 

 

This looks at ORDFTP

 


 

 

   user DMAISTRY dmaistry                    

  cd orders                              

  get ??????????  devan/forders (replac 

  QUIT                                   

 

 

 

 

 

 

From the above:

 

Up until now I don’t know what to do next…..

Do I write a RPG program to read from the output file(what is the name of the output file?)

 

Where do I pick up the file ????????

 

Please help…

 

Thanx]]></description>
		<content:encoded><![CDATA[<p>Hi  Martin</p>
<p>I’m not sure how to do it.</p>
<p>Here is the processes I am following:-</p>
<p> On the AS400<br />
_________________________________________________________________<br />
File  . . . . . .   QCLSRC                                                     </p>
<p>   Library . . . .     DEVAN                Position to  . . . . .              </p>
<p> Type options, press Enter.                                                     </p>
<p>  2=Edit         3=Copy  4=Delete 5=Display       6=Print     7=Rename          </p>
<p>  8=Display description  9=Save  13=Change text  14=Compile  15=Create module&#8230;</p>
<p> Opt  Member      Type        Text                                              </p>
<p>      ORDDCLP     CLP         ORD &#8211; FTP the information from orderwise          </p>
<p>      ORDDFTP     TXT         ORD &#8211; FTP the daily info from orderwise server    </p>
<p>      ORDDLOG  </p>
<p>      ORDCLPFTP   CLP    ORD &#8211; FTP the inform from orderwise                                                                           </p>
<p>      ORDFTP      TXT         ORD &#8211; FTP the daily info from orderwise server    </p>
<p>      ORDLOG           </p>
<p> _________________________________________________________</p>
<p>CL PROGRAM – ORDDCLP   looks like this</p>
<p>PGM                                                      </p>
<p>DCLF       FILE(ORDDLOG)                                 </p>
<p>RMVM       FILE(DEVAN/QCLSRC) MBR(ORDDLOG)               </p>
<p>MONMSG     MSGID(CPF0000)                                </p>
<p>OVRDBF     FILE(INPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDDFTP) </p>
<p>OVRDBF     FILE(OUTPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDDLOG)</p>
<p>FTP        RMTSYS(&#8217;196.14.119.10&#8242;)                                                                                </p>
<p> _____________________________________________________</p>
<p>   ORDDFTP looks like this</p>
<p>    user dmaistry dmaistry    </p>
<p>   cd orders              </p>
<p>   dir                    </p>
<p>   QUIT                   </p>
<p> __________________________________</p>
<p> ORDDLOG </p>
<p>0001.00 Output redirected to a file.                                     </p>
<p>0002.00 Input read from specified override file.                         </p>
<p>0003.00 Connecting to remote host 196.14.119.10 using port 21.           </p>
<p>0004.00 220 FTPSERVER Microsoft FTP Service (Version 5.0).               .                                         </p>
<p>0011.00 &gt; user DMAISTRY *******                                 </p>
<p>0012.00 331 Password required for DMAISTRY.                     </p>
<p>0013.00 230 User DMAISTRY logged in.                            </p>
<p>0014.00 Windows_NT version 5.0                                </p>
<p>0015.00 Enter an FTP subcommand.                              </p>
<p>0016.00 &gt; cd orders                                           </p>
<p>0017.00 250 CWD command successful.                           </p>
<p>0018.00 Enter an FTP subcommand.                              </p>
<p>0019.00 &gt; dir                                                 </p>
<p>0020.00 227 Entering Passive Mode (196,14,119,10,8,97).       </p>
<p>0021.00 125 Data connection already open; Transfer starting.  </p>
<p>0022.00 03-13-09  10:03AM                  217 5B55FE64.ORD   </p>
<p>0023.00 226 Transfer complete.                                                             </p>
<p>0024.00 Enter an FTP subcommand. </p>
<p>0025.00 &gt; QUIT                   </p>
<p>0026.00 221                                                      </p>
<p>Now I use ORDCLPFTP</p>
<p>  PGM                                                     </p>
<p>RMVM       FILE(DEVAN/QCLSRC) MBR(ORDLOG)               </p>
<p>MONMSG     MSGID(CPF0000)                               </p>
<p>OVRDBF     FILE(INPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDFTP) </p>
<p>OVRDBF     FILE(OUTPUT) TOFILE(DEVAN/QCLSRC) MBR(ORDLOG)</p>
<p>FTP        RMTSYS(&#8217;196.14.119.10&#8242;)                      </p>
<p>This looks at ORDFTP</p>
<p>   user DMAISTRY dmaistry                    </p>
<p>  cd orders                              </p>
<p>  get ??????????  devan/forders (replac </p>
<p>  QUIT                                   </p>
<p>From the above:</p>
<p>Up until now I don’t know what to do next…..</p>
<p>Do I write a RPG program to read from the output file(what is the name of the output file?)</p>
<p>Where do I pick up the file ????????</p>
<p>Please help…</p>
<p>Thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilly400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ftp-5/#comment-60850</link>
		<dc:creator>gilly400</dc:creator>
		<pubDate>Mon, 16 Mar 2009 10:38:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-60850</guid>
		<description><![CDATA[Hi Devan,

You need to create and retrieve the list using FTP.  Then you need to read the list using a program and write your FTP script.  I don&#039;t think you&#039;ll be able to do this in CL, you&#039;ll need to use something like RPG or COBOL.

Regards,

Martin Gilbert.]]></description>
		<content:encoded><![CDATA[<p>Hi Devan,</p>
<p>You need to create and retrieve the list using FTP.  Then you need to read the list using a program and write your FTP script.  I don&#8217;t think you&#8217;ll be able to do this in CL, you&#8217;ll need to use something like RPG or COBOL.</p>
<p>Regards,</p>
<p>Martin Gilbert.</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.044 seconds using memcached
Object Caching 281/287 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 19:20:08 -->