Joined: 24 May 2005 Posts: 36 Topics: 20 Location: chennai
Posted: Fri Dec 01, 2006 2:49 am Post subject: problem in formating
I have an input file and need to FTP to client. I have 3 records in the Input file and the data is in EBCDIIC. When I do FTP, all 3 records are appearing in same line. I think we need to append Carriage Return Key to the end of each record in Mainframe file before we do FTP. I would like to Know, what is the Carriage REturn Key in EBCDIIC.
There is no such concept as a "carriage-return" or "line-feed" in an EBCDIC dataset. You're thinking of an inter-record seperator (IRS), which in EBCDIC is a hex '15'.
An IRS value already exists in your EBCDIC data, and if transmitted in EBCDIC mode, will be retained at the remote site to ensure data integrity. If the data is transmitted in ASCII mode, then the IRS is translate into an ASCII "Carriage-Return/Line-Feed (CRLF)", depending on the value set in your FTP session's "SBSENDEOL" parameter. If the data is transmitted in BINARY mode, then the IRS will be lost and the data will appear as a binary datastream, without any record structure.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum