HI SAS community,
I have this peculiar running error that states "failure to transcode" while I attempted to run SAS on one go. I tried run my SAS code block by block and it run successfully.
I probably introduced some non-English character.
Anyone know how to fix this without going through my code line by line, which is 2000 lines?
Is there any "encoding= " option I can use that solves this problem?
TIA!!!!
Error: Integration technologies failed to submit the code. [Error] Failed to transcode data from U_UTF8_CE to U_LATIN1_CE encoding because it contained characters which are not supported by your SAS session encoding. Please review your encoding= and locale= SAS system options to ensure that they can accommodate the data that you want to process. A portion of the source string, in hex representation is:
[None] 2b8b496b1b24: 3b 2a 27 3b 2a 22 3b 2a 2f 3b 71 75 69 74 3b 72 |;*';*";*/;quit;r|
[None] 2b8b496b1b34: 75 6e 3b 0d 0a 4f 50 54 49 4f 4e 53 20 50 41 47 |un;..OPTIONS PAG|
[Error] Some code points did not transcode.
Curious that it works when run in portions.
You could copy/paste your code into Notepad++ and then use under menu Search the last entry in the list "Find characters in range...."
Patrick_0-1661559264732.png
If your code is dynamic then it could of course be the data used to generate the SAS code that contains a non-ascii character.
Curious that it works when run in portions.
You could copy/paste your code into Notepad++ and then use under menu Search the last entry in the list "Find characters in range...."
Patrick_0-1661559264732.png
If your code is dynamic then it could of course be the data used to generate the SAS code that contains a non-ascii character.
Nearly 200 sessions are now available on demand in the Innovate Hub.
Watch Now →Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.