|
At 7:11 PM 7/17/97, Andre Nortje wrote: >I would like to write a CL/RPG set of programs that will run in >batch. At 4 different locations (other AS400's) nightly jobs are run >that produce files to upload to a central AS400. > >I would like a batch job to run at 06h30 that will passtrough to the >remote AS400's, receive the network files, restore them at central >head-office. When done, end passthrough and connect to the next >AS400. > >When all data is received, a batch job will then print a consolidated >report. > >So my question is: What are DDM files, how do they function, and how does >one apply this to run remote commands. You need a DDM file to tell the system what comm line leads to the system you're trying to reach. We've often used a file like QTEMP/LINK instead of using a 'real' file. Please do NOT use a DDM file to grab data from the other systems! DDM files are ideal for onesy-twosy inquiries, but not for bulk transfers (unless the files are -very- small). Do you really -need- to use passthrough to get your data? Why not set up the remote AS/400s to automatically transmit at 06h30? They can use send net file and SNADS to have your data arrive automatically. After the file is transmitted, send a net message to a given queue and let the central '400 receive the net file. You can add code to watch for missing files before continuing, etc. --Paul E Musselman PaulMmn@ix.netcom.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. 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-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.