× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ian:
I tried to duplicate your problem on my AS400.  I started notepad and
created a file, with the word TEST.  I saved it as TEST.TXT, coding as ANSI.
Then I FTPed the file to my AS400 directly to a source PF member.  The only
FTP subcommand I entered was ASCII, then I did my PUT test.txt
library/file.member.
The source member looked fine, nothing like your example.  The only think I
can think of (pardon me if this is too simplistic), is the coding scheme (in
my case ANSI) that you save the file as in notepad.
cjg


Carl J. Galgano
EDI Consulting Services, Inc.
550 Kennesaw Avenue, Suite 800
Marietta, GA  30060
(770) 422-2995 - voice
(419) 730-8212 - fax
mailto:cgalgano@ediconsulting.com
http://www.ediconsulting.com
AS400 EDI, Networking, E-Commerce and Communications Consulting and
Implementation
http://www.icecreamovernight.com
Premium Ice Cream Brands shipped Overnight
FREE AS/400 Timesharing Service -
http://www.ediconsulting.com/timeshare.html
"You ain't gonna learn what you don't want to know" - rw

-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of Ian J. Forsyth
Sent: Thursday, September 20, 2001 9:21 PM
To: 'midrange-l@midrange.com'
Subject: Re: FTP Text File to Source File Member


I seem to be getting binary zeroes in the transferred data.
I just uploaded a text file into a source file member with the word
TEST in it.   I merely opened notepad typed TEST, saved the
file as TEST.TXT, and did the ftp transfer.

Here's what the hex view looks like--field names below.  The
text apears to start with the srcdta field.

 000100000000˙ūT E S T
 FFFFFFFFFFFFD8E0C0E0E
 000100000000FE3050203

 S     S     S
 R     R     R
 C     C     C
 S     D     D
 E     A     T
 Q     T     A

I know I can probably copy to a physical file
and do a convert source, but what's really frustrating
is that the IBM SQL Server Conversion Article tells you to
FTP your sql text file directly into your source file member.
Can this kind of transfer be done?

Ian


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.