|
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 mailing list archive is Copyright 1997-2025 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.