|
When I use Qshell commands and redirect output to a stream file that does not exist, the resulting stream file is in EBCDIC format. I have been able to use a tip from Scott Klement to change the file from EBCDIC to ASCII. However, the resulting ASCII file has either tabs or line feeds (I think the latter) instead of CRLF, so in Notepad all the data appears on a single line. For example, with the command: grep '^800' /myfolder/myfile.txt > /myfolder/myfile2.txt. The lines from myfile.txt are separated by line feeds or tabs in myfile2.txt. My questions are: (1) Can I set an environmental variable or something so Qshell defaults to ASCII instead of EBCDIC when it creates stream files? (2) Can I configure something so Qshell puts a CRLF at the end of lines instead of line feeds or tabs? (3) Is there a Qshell utility that would let me find and replace character sequences in stream files such that I could replace all line feeds (or tabs) with CRLF? Thanks, Kelly __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.