• Subject: RE: STRPASTHR in batch CL?
  • From: Evan Harris <spanner@xxxxxxxxxx>
  • Date: Sun, 21 Jun 1998 18:43:41 +1200

You could also consider a CL that used a remote data queue to pass some 
parameters across to a server program and the SAVRSTOBJ command to shift the 
data. its also quicker than snads (according to the manual) 

I use a variation on this method where I monitor a message queue for a file 
received msg and then extract the details using a break handling program and 
process it.

Justa few thoughts to add to the others... if I had the time I'd definitely go 
with the remote data queue and the SAVRST* commands using object connect - 
check them out !

Let us know what you end up doing !

-----Original Message-----
From:   PaulMmn [SMTP:PaulMmn@ix.netcom.com]
Sent:   Sunday, 21 June 1998 16:36
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
+---

application/ms-tnef


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.