|
Just use one "session" for the FTP to both servers. For testing purposes
do the following:
CRTPF QTEMP/LOGFILE RCDLEN(132)
OVRDBF OUTPUT QTEMP/LOGFILE
FTP "SYSTEM1"
And in your FTP script:
PUT MYFILE
CLOSE
OPEN "SYSTEM2"
<login creds go here>
PUT MYFILE
QUIT
Then you should see all of the info from both transfers in QTEMP/LOGFILE.
From there you can do whatever you want with it.
From: John McKee <jmmckee@xxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 05/16/2012 03:48 PM
Subject: Re: Combine FTP spool files
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Just trying to keep spool files together. Both sessions will fit on a
page.
Otherwise, not an issue.
John McKee
On Wed, May 16, 2012 at 3:46 PM, Alan Shore <ashore@xxxxxxxx> wrote:
Hi Johnthem
Don't know for definite if you can combine them.
I believe that it's not possible,
However, I am MORE interested in finding out why you want to combine
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John McKee
Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
Sent: Wednesday, May 16, 2012 4:45 PMservers.
To: Midrange Systems Technical Discussion
Subject: Combine FTP spool files
I now have two FTP steps in a single CL. Same files sent to different
spool file.
I was hoping to combine the output from the two sessions in a single
file, or two.
I tried some variations using OVRDBF and OVRPRTF. I either get no spool
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
Can they be combined?
John McKee
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-lmoment to review the archives at http://archive.midrange.com/midrange-l.
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
intended only for the individual named. If you are not the named addressee
Disclaimer: This message contains confidential information and is
you should not disseminate, distribute or copy this e-mail. Please notify
the sender immediately by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system. E-mail transmission
cannot be guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please request
a hard-copy version. Any views or opinions presented are solely those of
the author and do not necessarily represent those of the company.
--list
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.