-
Hi, We are not able to get Code for IBM i to work with our special scandinavian charachters ÅÄÖ. Our systems have been around for long time, since the S/36 time so unfortunately our system value QCCSID is set to 65535. I have read the https://halcyon-tech.github.io/docs/#/pages/tips/ccsid and here it gets interesting. When we upgraded to IBM i 7.4 and IBM made changes to default PASE CCSID and Locale to default to UTF-8 as outlined in To circumvent this problem we had to use The correct approach would be to find and fix everything so we can use PASE with UTF-8, but I do not see this will be done in years. Does anybody know of a work around for this? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hi, You have change the sys value correctly, but probably your pfsrc have the ccsid set to 65535. Is it true? Try with dspfd of your source file and look at ccsid of this. Bye |
Beta Was this translation helpful? Give feedback.
-
Hi! Most importantly you need to fix the Another suggestion is running a second SSH Daemon with those environment variables setup if possible. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for the reply. I have set the CCSID on my profile and that did not help. SQL is disabled for the connection, but it still does not work. |
Beta Was this translation helpful? Give feedback.
-
Hi, First you need to decide if you want to start the secondary SSH daemon with the -p port option or use a dedicated config file. To create a copy of the original sshd_config:
Edit the new config file and uncomment and change the port directive to use the choosen port: Create a user profile for the secondary daemon job: Create the CLLE program MYLIB/MYSSHD:
To start the secondary daemon:
If system value QCCSID is 65535 and want to have SQL enabled for Code for IBM i, set the correct CCSID on the user profiles The secondary ssh daemon can be configured to start as a autostart job for an existing subsystem or in an dedicated subsystem. Reference: https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/pase_locales.html |
Beta Was this translation helpful? Give feedback.
Hi,
First you need to decide if you want to start the secondary SSH daemon with the -p port option or use a dedicated config file.
I choosed to start with an dedicated config file as I think it is more flexible to configure the secondary ssh daemon to only be accessible for certain groups using the AllowGroups and so on.
Decide the port to use, I choosed port 2222
To create a copy of the original sshd_config:
Edit the new config file and uncomment and change the port directive to use the choosen port:
EDTF '/QOpenSys/QIBM/UserDat…