× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.