Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It will show the error "SAS" is not defined on problem panel #1301

Open
Zhirong2022 opened this issue Nov 27, 2024 · 0 comments · May be fixed by #1305
Open

It will show the error "SAS" is not defined on problem panel #1301

Zhirong2022 opened this issue Nov 27, 2024 · 0 comments · May be fixed by #1305
Labels
bug Something isn't working

Comments

@Zhirong2022
Copy link
Collaborator

Describe the bug
Open VSC SAS Extension base on Main branch. Create a .sas file and type code like 'x=SAS.sasfnc("fnc1",1,2)' in a 'proc python' code block. It will show error “SAS” is not defined on problem panel. However it can run the code successfully without any errors.

Steps to reproduce

  1. Sign in with a valid viya connection
  2. Create a .sas file
  3. Type code below
proc fcmp outlib=work.funcs.trial;
    function fnc1(num1, num2);
    return(num1+num2);
    endsub;
quit;

options cmplib=work.funcs;

proc python;
submit;
x = SAS.sasfnc("fnc1",1,2)
print("x = ", int(x))
endsubmit;
run;

  1. Run code

Expected behavior
No error validation for 'SAS'

Screenshots
image

Environment (please complete the following information):
Client OS: [e.g. Windows 11]
Extension version: [e.g. v1.12.0]

@Zhirong2022 Zhirong2022 added the bug Something isn't working label Nov 27, 2024
@scnwwu scnwwu linked a pull request Nov 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant