× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re[2]: File PC to a AS/400 spool file????
  • From: Vini.Kolathur@xxxxxxxxxxx (Vini Kolathur)
  • Date: Thu, 29 Jun 2000 16:53:38 -0700

     Scott,
       It works great , but what happens when we do that?????I mean how are 
     we able to FTP something to a non-db file?
     
     
     Vini


______________________________ Reply Separator _________________________________
Subject: RE: File PC to a AS/400 spool file????
Author:  Scott Klement <klemscot@klements.com> at ARO-INTERNET
Date:    6/29/00 1:25 PM


     
This will work for printing a file from a PC via FTP:
     
ftp as400
Name (as400:klemscot): klemscot
331 Enter password.
Password:
230 KLEMSCOT logged on.
ftp> cd qsys
250 Current library changed to QSYS. 
ftp> ascii
200 Representation type is ASCII nonprint. 
ftp> put myfile.txt qsysprt
local: myfile.txt remote: qsysprt
200 PORT subcommand request successful.
150 Sending file to member QSYSPRT in library QSYS. 
250 File transfer completed successfully.
4240 bytes sent in 0.49 seconds (8.49 KB/s) 
ftp> quit
221 QUIT subcommand received.
     
I just tried it, and it worked for me :)
     
     
     
     
On Thu, 29 Jun 2000, Joel Fritz wrote:
     
> The simple minded way (the direction I usually choose) is to upload the file 
> to a data base file using ftp, client access, or whatever's available, and
> then doing a CPYF FROMFILE(XXX) TOFILE(*PRINT).  You can also substitute the 
> name of a print file in the tofile parm.  There's probably something a
> little more sophisticated that will do it in one step. 
> 
     
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com. 
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com 
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.