|
We're sending to our own system. I was wondering why, and the program was initially made for another system sending the file that way, so they are just leveraging it. ----- Original Message ----- From: "Urbanek, Marty" <Marty_Urbanek@xxxxxxxxxxxx> To: <midrange-l@xxxxxxxxxxxx> Sent: Tuesday, June 29, 2004 11:16 AM Subject: RE: Deleting NETF > I am not 100% sure, but I don't think you should have to delete it. If the > file was indeed *sent* by your SNDNETF command, the netf would not be > sitting out there for you to delete. It would be over on the target system. > If the send fails, the netf will be sitting out there waiting for a chance > to retry and complete the mission. > > LOCKBOXLIB/NETDESC is just a file. It could be deleted by DLTF command if > that is what you want to do. > > -Marty > > ------------------------------ > > date: Tue, 29 Jun 2004 10:46:57 -0400 > from: "Adam Lang" <aalang@xxxxxxxxxxxxxxxxxxxx> > subject: Deleting NETF > > 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 > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.