FTP AS400 RECEIVING EDI FILE
95 pts.
0
Q:
FTP AS400 RECEIVING EDI FILE
ON MY AS400 VER 4.5 I AM RECEIVING THRU FTP A EDI FILE FROM A PC BASED SYSTEM
BUT THE DATA COMES IN AS ONE LONG RECORD.
ANY IDEA'S THAT WOULD HELP
ASKED: Jun 24 2009  12:44 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
24510 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
I don't think there's anything wrong with the transmission.
You will need to move the input to a formated file for that particular EDI type
or
Use EDI mapping software
or
Write a program to substring the data

Phil

i don't think so because its one long string and my edi software wants 80 or 132 record length
--------------------
So you don't think you're getting end-of-record indicators?
Is it being FTP'd into a file on the 400 or the IFS?
Is the data translated into ebcdic?
Phil
------------------------
Then the question are ... what is the ASCII file using for End-Of-Record?
PC's generally use Carrage Return - Line Feed
and what translation table would be used? - would that be on the sending side?


Phil

.......................................................
Have you asked the sender if they are or can send standard line termination?
Some EDI software has this as a configuration option.

Phil
Last Answered: Jun 26 2009  3:56 PM GMT by Philpl1jb   24510 pts.
Latest Contributors: Bobcour   95 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Bobcour   95 pts.  |   Jun 24 2009  2:02PM GMT

it seems i’m not
its ftp’d into as a file create
yes it is

 

Mcl   2500 pts.  |   Jun 26 2009  7:19AM GMT

I’ve seen this problem… 10 years ago. And it had to do with and EDI transmission, too.

I think what we did was create the file on the 400 and then FTP into that file.

I can’t say for sure, but its worth a try.

Regards
Mike

 

Bobcour   95 pts.  |   Jun 26 2009  11:57AM GMT

i don’t think so, becuase if you create a file with a record length
the file ftp’d could be any record length.
comes in as one long string.
thanks anyway

 

RonKoontz   1345 pts.  |   Jun 26 2009  1:24PM GMT

We FTP to the IFS and use gentran to process it. It works great. I checked and it also comes in as one string. Another place I was at I generated a program to read the IFS file one character at a time to generate/break at the segmants I needed. If you want an example program I think I still have it. Just email me if you want it.  <a href="mailto:rkoontz@ceioh.com" title="mailto:rkoontz@ceioh.com">rkoontz at ceioh.com</a>. Thanks

 

Bobcour   95 pts.  |   Jun 26 2009  1:32PM GMT

but on the 400 PF you would have a record length,if you create the file coming in
the record length would be in the thousands.
isn’t the problem the sender not having a end of record code.
if brought in on PC notepad and convert to msdos its okay

 

RonKoontz   1345 pts.  |   Jun 26 2009  2:57PM GMT

The IFS its NOT a PF. IF you do not have a 3rd party software that is going to read the “big string” then you have to read it as a text file.
Or convert it when the FTP part starts.

 

Bobcour   95 pts.  |   Jun 26 2009  3:15PM GMT

i do have 3rd party software, but it needs a 80 or 132 position record
harbinger TrustedLink EDI/400 Version 2

 

RonKoontz   1345 pts.  |   Jun 26 2009  3:32PM GMT

are you setting it to binary?
BIN 0

 

Bobcour   95 pts.  |   Jun 26 2009  3:39PM GMT

I tried ascii,binary abd edcidic
even struct R and F

 

Bobcour   95 pts.  |   Jun 26 2009  3:49PM GMT

the thing is i get edi files from another client and its fine
comes in as multi records
it got to be something on there side. not having a end of record(line feed)

 

Bobcour   95 pts.  |   Jun 26 2009  4:03PM GMT

thats what i’m trying to get them to do
thanks for help

 
0