Hi,
What do i remember from the past is that Qshell supports only code page 37 so it can be just informational message. However i need to check if it is still true.
Regarding $آJAVA_HOMEآ/bin/java not found - it seems to be a path issue to me. Can you please this( echo $PATH) and provide the snap? Do you also use environment variable on the system? If yes, what is the environment variable set on your system ?
------------------------------
Rohit Chauhan
Senior Technical Specialist
Norway
------------------------------
Original Message:
Sent: Mon September 30, 2024 03:26 AM
From: Del Abalos
Subject: QSH on IBM i: Running scripts fail due to the curly braces?
I am trying to run a shell script in QSH of IBM i. It seems there is a problem in the system translating the variables due to the curly braces used in the script. Has anybody encountered this and know any work-around?
> ./setWebServiceProperties.sh -server WSERVICE1 -service myservice -userid *AUTHENTICATED
QzshInitVarChars: 001-0072 CCSID 420 is not supported. qsh is initialized for CCSID 37.
qsh: 001-0072 CCSID 420 is not supported. qsh is initialized for CCSID 37.
QzshInitVarChars: 001-0072 CCSID 420 is not supported. qsh is initialized for CCSID 37.
qsh: 001-0072 CCSID 420 is not supported. qsh is initialized for CCSID 37.
QzshInitVarChars: 001-0072 CCSID 420 is not supported. qsh is initialized for CCSID 37.
qsh: 001-0072 CCSID 420 is not supported. qsh is initialized for CCSID 37.
./setWebServiceProperties.sh: 001-0014 Command $آJAVA_HOMEآ/bin/java not found.
$
------------------------------
Del Abalos
pasay city AL
63-906-246-7417
------------------------------