todsn and fromdsn were designed to be swiss-army-knife tools for converting pipes to/from datasets, so codepage and line termination are only a couple of the many options.
For complete man pages, see: http://dovetail.com/docs/coz/dsp-ref.html In the interest of full disclosure, we should probably mention that John gets 10% of the license revenue from Co:Z. Unfortunately for John, its a free product (Apache 2.0 binary license) :-) (Commercial support contracts are available) Kirk Wolf Dovetailed Technologies On Fri, Sep 26, 2008 at 10:09 AM, John McKown <[EMAIL PROTECTED]> wrote: > On Fri, 26 Sep 2008 09:05:43 -0600, Steve Comstock > <[EMAIL PROTECTED]> wrote: > > <snip> > >> I'd really suggest installation of Dovetailed Technologies Co:Z free > >> product. Why? It will do the above in a single step! > >> > >> fromdsn -s IBM-1047 -t ISO8859-1 'BRASIL.ZOS.CONTEST.JCL(DATA1)' >/data1 > >> > >> reverse it? > >> > >> todsn -s ISO8859-1 -t IBM-1047 'BRASIL.ZOS.CONTEST.JCL(DATA1)' </data1 > >> > >> -- > >> John > > > >Hey guys, I think the cp commands need to use the B flag, > >otherwise you get the strange NL, CRLF kinda' exchange going. > >Not sure how the Dovetailed software handles that. > > > >Kind regards, > > > >-Steve Comstock > > The fromdsn command has another switch which can specify the end of line > character: > > -l lf > -l cr > -l crlf > -l nl > > specifies x'0a', x'0d', x'0d0a', and x'15' (?) respectively. The todsn can > take the same switch, but defaults to understanding all of the above as a > line end. > > -- > John > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html