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


  • Subject: RE: Automating SNDNETF and RCVNETF
  • From: "Carl Galgano" <cgalgano@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 30 Mar 2000 14:43:09 -0500
  • Importance: Normal

there are many ways to do this.  If you insist on SNDNETF you could write a program that monitored a message queue and wait for the message that says the file has been received, parse out the file names, etc.  and do the RCVNETF and the restore.  If you are moving data, you don't have to do the save file thing, you can just send the net file and receive the net file.
You may also want to look at FTP if you have TCP/IP configured, SAVRSTOBJ, or DDM.  They are much simpler ways of moving data between 2 systems.  If you really felt ambitious, you could write a ICF comm program or a TCP/IP sockets program.
Good luck.
CJG
 

Carl J. Galgano
EDI Consulting Services, Inc.
540 Powder Springs Street, Suite C19
Marietta, GA  30064
(770) 422-2995 - voice
(419) 730-8212 - fax
mailto:cgalgano@ediconsulting.com
http://www.ediconsulting.com
AS400 EDI, Networking, E-Commerce and Communications Consulting and Implementation

-----Original Message-----
From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of End of the Trail
Sent: Thursday, March 30, 2000 9:19 AM
To: MIDRANGE-L@midrange.com
Subject: Automating SNDNETF and RCVNETF

I am merging serveral pieces and parts from serveral files into 6 (basically) flat files.  These 6 are used on another box by a system that merges data and the web pages.  The method that has been recommended or employeed is: save to save file; sndnetf; on the other box...  rcvnetf and restore the save file.  This works.
 
I must automated it in one or two CLs and maybe run serveral times a day.  I can: clear the save file; save the data to the file; issue the sndnetf.  The question is the best way to kick off the CL on the other box.  I do not believe I can use a trigger, because the file is not officially rcvd.  I could monitor the msgq ( I have not done much, if any, of this).  Can I issue a rmtcmd from this box to that box?  Issue a start pass through, with a defualt id and auto call to the CL then sigh off?
 
What is the easiest to write, maintain, and run?  I am open to listen and learn from the masters on this list.   THANK YOU!
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.