|
I would suggest you: a) Make sure you have installed the (no charge since V3R2) optional Object Connect piece of OS/400 (Part 22) b) Use the neat new SAVRST* commands - for this situation probably SAVRSTOBJ. This should be less steps than SNADS (where you would need multiple steps like SNDNETF, SBMNETJOB to run the RCVNETF job and whatever at the remote machine), easier than FTP (especially if you only have SNA connections), and faster than DDM, and shouldn't require any user written comm programs. Neil Palmer AS/400~~~~~ NxTrend Technology - Canada ____________ ___ ~ Thornhill, Ontario, Canada |OOOOOOOOOO| ________ o|__||= Phone: (905) 731-9000 x238 |__________|_|______|_|______) Cell.: (416) 565-1682 x238 oo oo oo oo OOOo=o\ Fax: (905) 731-9202 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailto:NPalmer@NxTrend.com AS/400 The Ultimate Business Server http://www.NxTrend.com > -----Original Message----- > From: PaulMmn [SMTP:PaulMmn@ix.netcom.com] > Sent: Sunday, June 21, 1998 12:36 AM > To: MIDRANGE-L@midrange.com > Subject: Re: STRPASTHR in batch CL? > > Unless there have been tremendous improvements in performance, DDM is > not > the best solution-- DDM was originally intended as a means of > retrieving 1, > 2, or a few records from a remote system (ie an interactive inquiry > program > to data on a remote system). > > Larry Bolhuis' recommendation to use RUNRMTCMD is a good one. > > We wrote our own program for moving a savf file between systems: it's > a > communication program to read a SAVF (you can read it in an RPG > program > (528 Record Length??)), send the records across a comm link to the > other > machine, where another RPG re-writes the records to a SAVF on the > receiving > end. > > Send and Receive NET Files can definitely be automated. > > This program is faster than SNADS (mostly due to no error recovery, > but it > works nicely between local systems). > > --Paul E Musselman > PaulMmn@ix.netcom.com > > >Hi All, > >As some of you know I changed jobs and i am now working at a company > >that has many AS400 (production and 1 developement machines) This is > >quite a shock to the system from the 1 AS400 shop from which I > sprang. > > > >Can I automate this process in a BATCH clp? > >strpasthr (to a production machine) > >cpyf (test piece from a prod file) to qtemp. > >sndnetf (to the developement machine). > >endpasthr (to stop pass thru on the production machine). > >crtpf (the proper skeleton file in my test library). > >rcvnetf (on my developement machine into the waiting skeleton file in > my > >test library). > > > >If this is possible I can make a real slick screen job that will pass > >parms and permit it to be an on-the-fly type running situation, A BIG > >TIME SAVER. > >--- > >Tim & Dana Truax... and Caleb 4 years old. > > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.