× 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.



On the FTP point - yes, with traditional FTP you have to parse output logs. But may I suggest getting Scott Klement's FTPAPI - it lets you do separate function calls for each FTP command, with return values at every step along the way. I just checked, there is the FTP_RmtCmd procedure that lets you run a command on the target system. Here, also, is a link that shows some simple use of this function - https://scottklement.com/archives/ftpapi/200610/msg00038.html

Worth a look, perhaps.

Vern

On 5/29/2021 4:32 AM, Patrik Schindler wrote:
Hello,

Am 29.05.2021 um 00:36 schrieb smith5646midrange@xxxxxxxxx:

I am working on a project and I need to be able to delete file members from
multiple systems.

For example, I am running a process on SYSTEM1 which is the controlling
system and I need to delete LIBRARY1/FILE1/MEMBER1 from SYSTEM1, SYSTEM2,
and SYSTEM3.
What's the primary way your program does database reads/updates? SQL or native calls?

I don't want to use FTP and remote commands because I don't want to have to
read the output log to see if it was successful.
You can automate that. The output of SITE RCMD isn't varying much and thus easily parsed for errors.

Is there another option that I have not thought of (or maybe don't even know
about)?
If your machines are properly networked, you can create DDM files pointing to the remote machines' PFs. So you can modify the files on one central point.

:wq! PoC



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.