Skip to content
Wei Wu edited this page May 19, 2022 · 12 revisions

Frequently Asked Questions

I don't see correct syntax colors on SAS code

Select File > Preferences > Color Theme and select a SAS provided theme.

How to get client ID/Secret?

SAS administrator can refers to this documentation for how to generate client IDs.

It took so long to run at first time

A new session must be created the first time you run SAS code, which can take 10 - 60 seconds, depending on the server connection. Subsequent runs within the session should be quicker.

I got unable to verify the first certificate error when run

You will likely need to import your Viya server certificate into your local certificate store, as below steps:

  1. Obtain the root CA
  2. Import it into your local store. The steps vary across Operating Systems. Here's an instruction for Windows.

What's the expected format of the token file?

It expects a plain text file with any name and will read the whole content as access token.

I keep getting errors but I believe I've fixed it

Please try click the Close current session button next to the Run button to reset your session. If it didn't help, try restart your VS Code.

Clone this wiki locally