[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Deleting IFS objects
Alternatively, Scott has published an article (with a link to the source code) on how to delete files from the IFS based on creation date:
http://systeminetwork.com/article/purge-ifs-files-without-qshell
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Danner, Duane
Sent: Monday, February 07, 2011 3:04 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Deleting IFS objects
I am looking for something that would do that, could you send me a zip file.
Thanks
Duane Danner
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ron Koontz
Sent: Monday, February 07, 2011 7:35 AM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Deleting IFS objects
I have a few RPGLE programs that do this. You can feed it number of days to keep or whatever. If you want it let me know and I can zip it down to you.
Thanks
Ron
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mario Rodrigues
Sent: Monday, February 07, 2011 8:27 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Deleting IFS objects
Hi Scott,
I follow your example for write, read and deleting IFS object, but I ask you if this is possible and done well before I run:
c if unlink('/tyloglib/trns*.*') < 0
c callp EscErrno(errno)
c endif
i want delete all objects inside of this DIR and start with trns....
I think is possible too, delete the older objects that I have for example +30 days older from today.
I don't know if I'm clear with this answer, my problem begun when I see this DIR, and and the log files that I have, but I want keep with the last 30 days.
Thanks for your attention
Mário Rodrigues
Analista/Programador
Promosoft Financial
mario.rodrigues@xxxxxxxxxxxxx
Tel.: (+351) 211107100 Fax: (+351) 211107103 Ext: 3174
www.promosoft.com
________________________________
Disclaimer/Implicações legais
http://www.promosoft.com/disclaimer/e-mail.htm
________________________________
Antes de imprimir este "e-mail" pense no meio ambiente.
Por favor considere as suas responsabilidades ambientais! Antes de imprimir o Email, pergunte a si mesmo se realmente precisa duma cópia em papel.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------