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



I am creating a VB program to copy contents of a file from PC to AS/400.
Then, I run a remote command from the VB program to deelte the existing file
in wrknetf.  Finally I then run a remote sndnetf command.

I can do part 1 and 3, but I am having trouble doing the edelete because I
can not find a command on the AS/400 that will do it.  Any ideas?

To clarify, This is how I run remote comamnds from VB with OLE DB.  HEre is
the sndnetf command  (MyCommand is an ADODB.Command object):

With MyCommand
    'Run SNDNETF Command
    .CommandText = "{{SNDNETF FILE(LOCKBOXLIB/NETDESC) TOUSRID((" & sUser &
sAddress & "))}}"
    .Execute
End With

Is there a command like the above I can use to delete existing netf files?

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.