You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@SundareshSankaran, doesn't seem to be a bug in VSCode. Are you sure the SAS Extension and SAS Studio are using the exact same configured SAS Compute? Could it be that they are using different compute environments with different configuration settings (encoding maybe?), causing the same proc import code to generate different results?
Thanks, @snlwih , as mentioned offline, the issue was due to the encoding of the source file, which was in UTF-16 LE. I used a filename statement similar to this which solves the problem.
Describe the bug
Upon running the following proc import statement, I get a successful import, but getnames=Yes is not honoured.
Upon running the same code in SAS Studio, I notice that the first header seems to have a special character (undetectable in text editor).
Output from VS Code extension:
Output in SAS Studio:
Steps to reproduce
Steps to reproduce the behavior:
Open SAS editor / file
Run code:
Data snippet can be shared internally (sundaresh.sankaran@sas.com)
Expected behavior
Header records are read and displayed in VS Code results window.
Screenshots
Attached
Environment (please complete the following information):
Client OS: Mac 15.2 Seqouia
Extension version: 1.13.0
SAS version: Viya Stable 2024.12
The text was updated successfully, but these errors were encountered: