Question
David Cui · May 24, 2020

calling AIX command failed

I can run the following commands from the AIX command line prompt without any problem

-bash-2.05b$ echo t
t
-bash-2.05b$ echo œ
œ

When I call from insider cache, I have problem.

USER>D $ZF(-1,"echo t")
t

USER>D $ZF(-1,"echo œ")

D $ZF(-1,"echo œ")
^
<TRANSLATE>

I am using cache 2017.2.  Can someone shed some light?

Thank you.

0
0 153
Discussion (5)2
Log in or sign up to continue
œ is a French character and the cache is installed with Unicode support.

I would start by confirming your current Caché locale and the configured NLS defaults for differences (In the management portal: Home > System Administration > Configuration > National Language Settings > Configured Defaults).

If you are stuck, consider reaching out to the WRC for assistance.

Internal Tables   
Type Default
Pattern match Unicode
Identifier Unicode
Uppercase Unicode
Lowercase Unicode
Titlecase Unicode
Collation Cache standard
$X/$Y action Latin1
Input/Output Tables  
Input/Output Default
Process RAW
Cache terminal UTF8
Other terminal UTF8
File RAW
Mag tape RAW
TCP/IP RAW
System call RAW
Printer RAW

Can these tell something to me?

By the way, I filed a WRC question as medium.  The folk responsible for this like to talk to me on the phone.  I thought this might be just email changes.  So the folk thinks this is not urgent and will respond to me on Tuesday due to national holidays.  

My understanding of medium is no need to call, but still electronic communication.  Anyway, I will wait.  However in the mean time, if anyone on this forum can offer some help would be great!  I do need this to be solved.

using  "œ" makes you internal string wide character.
you might fix it with  DO $ZF(-1,$ZCVT("echo œ","O","UTF8"))  if the encoding of your AIX is UTF-8.

The first example just shows that AIX understands its own console/terminal. 

Bonne chance !

This works like a charm!!!!!!!!!!!!

Thank you!!!!