95 pts.
 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

Software/Hardware used:
ASKED: June 24, 2009  12:44 PM
UPDATED: June 26, 2009  4:03 PM

Answer Wiki:
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 Wiki Answer Submitted:  June 26, 2009  3:56 pm  by  philpl1jb   44,180 pts.
All Answer Wiki Contributors:  philpl1jb   44,180 pts. , Bobcour   95 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 95 pts.

 

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

 2,725 pts.

 

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

 95 pts.

 

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. rkoontz@ceioh.com. Thanks

 1,780 pts.

 

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

 95 pts.

 

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.

 1,780 pts.

 

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

 95 pts.

 

are you setting it to binary?
BIN 0

 1,780 pts.

 

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

 95 pts.

 

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)

 95 pts.

 

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

 95 pts.