FTP AS400 RECEIVING EDI FILE

95 pts.
Tags:
AS/400 FTP
EDI
EDI Transactions
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: June 24, 2009  12:44 PM
UPDATED: June 26, 2009  4:03 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 11  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Bobcour
    it seems i'm not its ftp'd into as a file create yes it is
    95 pointsBadges:
    report
  • mcl
    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,740 pointsBadges:
    report
  • Bobcour
    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 pointsBadges:
    report
  • RonKoontz
    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 pointsBadges:
    report
  • Bobcour
    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 pointsBadges:
    report
  • RonKoontz
    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 pointsBadges:
    report
  • Bobcour
    i do have 3rd party software, but it needs a 80 or 132 position record harbinger TrustedLink EDI/400 Version 2
    95 pointsBadges:
    report
  • RonKoontz
    are you setting it to binary? BIN 0
    1,780 pointsBadges:
    report
  • Bobcour
    I tried ascii,binary abd edcidic even struct R and F
    95 pointsBadges:
    report
  • Bobcour
    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 pointsBadges:
    report
  • Bobcour
    thats what i'm trying to get them to do thanks for help
    95 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following