Simon,
Thanks for the explanation about FTP. It seems so obvious now.
I did finally find the documentation regarding DDS for LF's; instead of using a search function, I just had to settle down and read until I found the section which you pointed out.
Thanks for your help.
Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Simon Coulter
Sent: Wednesday, February 04, 2009 3:18 PM
To: Midrange Systems Technical Discussion
Subject: Re: Another ftp-type question.
On 05/02/2009, at 5:32 AM, Jerry Adams wrote:
Would you mind giving an example. I've never come across a
technique to reformat data in the logical and would like to learn
how to do so.
There are examples in the IBM documentation. See the InfoCentre.
Start at Database->Programming->Database Programming->Setting up
database files->Describing logical file record formats.
You'll see it discusses the reformatting that is supported by logical
files.
I'm also extremely curious about PUTting an LF on System-A and
being able to read the data residing on System-B. Was I incorrect
when I said that an LF is nothing more than an index, which in and
of itself contains no actual data? Again, I'm asking so I can
learn something new - even if it throws something I thought I knew
into a dustbin.
The concept you are missing is that although FTP is "File Transfer
Protocol" it doesn't transfer files. It transfers data. When you
'point' FTP at a logical file it transfers the data surfaced by that
logical--essentially a remote system copy operation.
This also explains why you can FTP to printer files or direct to
printer ports if you want.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.