If I remember correctly, the way I did this (when I needed to do something like this) I transferred the files using vanilla FTP in binary mode. There is an FTP option you must specify to the FTP server on the z/OS system requesting the inclusion of the record descriptor word (RDW) field. The RDW, among other things, describes the length of the record. You need to use the RDW to insert carriage returns between the records.
On Tue, Jun 14, 2011 at 10:22 AM, John McKown <[email protected]> wrote: > 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/ > -- "Intelligence is the ability to avoid doing work, yet getting the work done." -Linus Torvalds ---------------------------------------------------------------------- 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/
