This page has a nice simple example:

http://search400.techtarget.com/tip/1,289483,sid3_gci866583,00.html



----------------------------
Bryan Dietz
--------------------------------------------
I have just started to dabble with exit programs , and I am trying to
create
one that will keep just a basic log of users who FTP into my AS400. (Simply
user ID , date and time is all I am after)
I have been through the so helpful information centre and used the RPG ILE
program as a template to work from.
I have created the program , and added it to
QIBM_QTMF_SVR_LOGON            TCPL0200                      *YES
             FTP Server
Logon
stopped the FTP service and then restarted it.

When I try to FTP into the AS400 , I am indeed getting my information
written out to the file , BUT it now does not let me log on. I get the FTP
connection refused.
Take the exit program out , restart and everything is OK.
Therefore the problem lies in my exit program.

I do set the RETCDOUT to 1 on my way out of the exit program , which I
would
have expected the FTP to continue correctly , but it does not.

Am I missing something out , a simple step hopefully. As I say this is my
first time exploring the exit program world.

Regards

Steven Gray



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.