|
I do not understand this line: "User (s10.abccorp.net:(none)):" Who is logging in? Also, I see no reference to the file being uploaded. Steps seem to be missing from this log file. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Tuesday, February 04, 2003 16:25:18 To: RPG programming on the AS400 / iSeries Subject: How to call rpg pgm from FTP RCMD Hi: I am using FTP to upload a file. Once the file is uploaded I want to run a rpg program using FTP RCMD. Here is the code I have. For some reason I am getting an error. Also can I pass a parm with this call?. If I can, what's the format of the call? Thanks for your help in advance. Giri Gopal MY FTP CODE: open s10 test test quote rcmd call pgm(mylib/test) quit MY LOG FILE: ftp> Connected to s10.abccorp.net. open s10 220-QTCP at s10. 220 Connection will close if idle more than 5 minutes. User (s10.abccorp.net:(none)): 331 Enter password. 230 test logged on. ftp> ftp> quote rcmd call pgm(mylib/test) 550-Error occurred on command call pgm(mylib/test). 550 Error found on CALL command.. ftp> quit 221 QUIT subcommand received. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. .
As an Amazon Associate we earn from qualifying purchases.
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.