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



On 20-Jul-2016 10:07 -0500, Fuchs, James M wrote:
I am at a loss. Have an Awk script that I need to run in the
QSH/QShell environment but it will not run to completion. The AWK
script runs without issue if I run it on a PC but when I run it on
the AS400 in QShell it only processes/recognizes the first pattern
match. <<SNIP>>

Verify that the /special-characters/ were properly translated into the expected hex code point of the EBCDIC CCSID [assigned to, as an attribute] of the file that is being used as the script. The ^ symbol\character [SD150000 Circumflex Accent] and the ¬ character\symbol [SM660000 Logical NOT] could be problematic in some translations. The Dump (DMP) command will produce a spooled file QPSRVDMP with the hex data of a stream file (STMF), and the option 8="Display Attributes" against that STMF as chosen from the Work With Object Links (WRKLNK) will show the "Coded character set ID" that was assigned to the file.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.