|
Another way - afte rthe remote system does a SNDNETF, do a SBMNETJOB to run a job on the target system to receive the file and process it. (Look up setting for JOBACN on DSPNETA, and if you set to *SEARCH use WRKNETJOBE to set up valid user/addresses you will accept & run jobs from). Neil Palmer DPS Data Processing Services Canada Ltd. AS/400~~~~~ Thornhill, Ontario, Canada ___________ ___ ~ Phone: (905) 731-9000 x238 |OOOOOOOOOO| ________ o|__||= Cell.: (416) 565-1682 x238 |__________|_|______|_|______) Fax: (905) 731-9202 oo oo oo oo OOOo=o\ mailto:NeilP@DPSlink.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://www.DPSlink.com AS/400 The Ultimate Business Server -----Original Message----- From: Carl Galgano [SMTP:cgalgano@ediconsulting.com] Sent: Wednesday, September 16, 1998 7:13 PM To: MIDRANGE-L@midrange.com Subject: Re: RCVNETF question Ravi: I had the need to do this a long time ago. A cheesy way to do it is to use a special user profile to send to on the receiving system. Anytime a file is sent an associated message is sent to the message queue of the user. Attach a program to receive the message queue, and parse out the file and library name. You should have enough info to receive the file. Also, you probably can use the RUNRMTCMD from the sending system and have it execute a RCVNETF command on the target system. or if all you are sending is data files, why not use DDM files and just use a CPYF command to move the data between the two systems, or better yet use FTP. Carl Carl Galgano EDI Consulting Services, Inc. http://cgalgano.home.mindspring.com mailto://cgalgano@ediconsulting.com (770) 422-2995 -----Original Message----- From: Ravi <ravi@spacestar.com> To: MIDRANGE-L@midrange.com <MIDRANGE-L@midrange.com> Date: Wednesday, September 16, 1998 1:49 PM Subject: RCVNETF question |Hello all, | |I need to receive network files through a batch CL program. The RCVNETF |command requires the name of the file to be received. Is there some way |to determine in a program, the names of all the files waiting to be |received? Depending on the file names, I can selectively receive the |files and process them appropriately. | |Thanks in advance | |Ravi +--- | 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-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.