I didn't notice the "dd" portion of the question. The problem, to IBM at least on z/OS, the end-of-line character is not a LineFeed (EBCDIC 0x25) but a NewLine (EBCDIC 0x15). "dd" converts 0x0a to 0x25 and not 0x15.
On Tue, 2011-06-14 at 10:45 +0530, Sundaram, Parthasarthy wrote: > Hi Team, > > Very good morning...Iam parthasarathy working in Mphasis.Kindly > requesting you to help me on my below queries. > > i) In SunOS how to convert the ASCII mode to EBCDIC mode in SFTP > mode. > ii) Iam able to convert the ASCII file to EBCDIC thru DD command > outside SFTP mode.Is this the right command. > iii) I have a file with 100 records but after converting from ASCII > to EBCDIC all the 100 records is aligned in the single line.Please let > me know how to resolve this and iam sure that carriage return is > missing. Please let me know how to apply the carriage return value > during the EBCDIC conversion. > > It could be highly appreciated if you help me on this. > > Parthasarathy Sundaram > Mphasis an HP company > Level 4, 1-B DLF Info City, 1/124 Shivaji Garden , Manapakkam, > Chennai-89 > Mob: 91 9176663227 > [email protected] > [email protected] > > > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ -- John McKown Maranatha! <>< ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
