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



All,

Playing around with Scott's "Improved DB2 Command for QShell" aka SQLQSH
found here
http://iprodeveloper.com/application-development/improved-db2-command-qshell

Ran the following:
sql -S -c "|" "select ccusnr, ccusnm from olsdta.corcustm" >
/home/wiltc/hhc_custs.txt

An I get nice pipe delimited stream file, when viewed via the green screen
DSPF command

However, even I open it using my favorite text editor, Ultra Edit (UE) via
Windows explorer, I get "garbage". Or at least untranslated EBCDIC. :)

From DSPF, for the first line I see
CCUSNR|CCUSNM

Hex
C3C3E4E2 D5D94FC3 C3E4E2D5 D425

From UE on windows I see the same hex values.

Now, I've got other text stream files in the same folder also coded as
CCSID 37 that open just fine in UE. So it doesn't appear to be a general
issue with Netserver.

If I FTP the file back to my PC, it get's translated properly. So the
issue appears to be just with Netserver and just with this file.

Does anyone have any thoughts as to why Netserver isn't converting this
file?

Thanks!
Charles

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.