Just a thought:
Put the file in a savefile, specify a "bin" (binary) before the "put" command, then restore at destination?
Oludare Ogunmadewa
Tekwiz Solutions LLC
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of T. Adair <tadair@xxxxxxxxxxxxxxxx>
Sent: Friday, October 20, 2017 10:00:30 AM
To: midrange-l@xxxxxxxxxxxx
Subject: FTP changes the record format name
When I FTP a PF from one System i to another, FTP will preserve the
filename and member name, but it (apparently always) changes the record
format name from whatever it was to the same as the filename.
Example:
PUT DS_DATA/DS_PRDXF.DS_PRDXF DS_DATA/DS_PRDXF.DS_PRDXF
This successfully puts the DS_PRDXF file in the DS_DATA library on the
source system, into the same file/library on the target system.
So far, so good. The problem is that the record format name on the
source system is DSPRDXFR, but FTP changes it to DS_PRDXF (same as the
filename) on the target system.
Why?
This file needs to be FTPed to multiple libraries on multiple systems. I
do not relish the thought of having to transfer the DDL source member to
each system, and then manually create the file in each library on every
system.
Is there an FTP setting to prevent this behavior? I've searched the
archives, and I've Gaagled it, without success. Does FTP simply not
ignore the record format name, and assign a default?
FTPing to the same library name (on a remote system) or to a different
library name makes no difference. Same result.
All our systems are on 7.2.
As always, any guidance would be greatly appreciated.
~TA~
--
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:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.