Programming 1 and 2

For questions related to SAS programming courses and case studies
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
nigel_sa
Calcite | Level 5

Hello, I'm new to SAS and taking the Programming 1 course but, when I open SAS Studio, I can't neither type nor paste anything into the code editor.  Is there some setting that I have missed?

1 ACCEPTED SOLUTION

Accepted Solutions
SASJedi
Ammonite | Level 13

Some newer virtual labs are set up to copy and paste text directly to and from the Virtual Lab without any extra steps, but others require you to use the Citrix clipboard to transfer text between the Virtual Lab and your local machine. 

 

Scenario:

Say you’ve logged in to your Virtual Lab using your Web browser and Citrix. You’ve written a nice program in Notepad on your local computer, and you want to paste that code into SAS Studio in the Virtual Lab:

SASJedi_0-1738595865067.png

You highlight and copy the Notepad code, but when you try to past it into the Virtual Lab, it doesn’t work. Try using the Citrix clipboard like this:

  1. Click on the Citrix menu “hamburger” at the top center of the web page:
    SASJedi_9-1738595967865.png
  2. In the pop-up menu, click on the Clipboard icon:
    SASJedi_10-1738596088141.png
  3. Paste your code into the Clipboard window that pops up.
    SASJedi_3-1738595865080.png
  4. Close the Clipboard window, click in the SAS Studio code editor in the Virtual Lab, and press ctrl-V to paste in your code. And violá – your code appears in SAS Studio.
    SASJedi_11-1738596331537.png
  5. To copy text out of the Virtual Lab to your local machine, reverse the process:
    • Highlight the text in the Virtual Lab, and press ctrl-c to copy
    • Open the Citrix clipboard as done above, and press ctrl-v to paste the text into the Clipboard pop-up window, then click Update:
      SASJedi_12-1738596461114.png
      (A note “Copied to Session clipboard" appears.)
    • Highlight the text, and press ctrl-C to copy the text to your local machine’s clipboard.
    • In your local machine, put the cursor where you want to insert the text and press ctrl-v:
      SASJedi_13-1738596547272.png

 

 

Check out my Jedi SAS Tricks for SAS Users

View solution in original post

2 REPLIES 2
procphysics
SAS Employee

The best advice I'd give is to contact SAS Support.

SASJedi
Ammonite | Level 13

Some newer virtual labs are set up to copy and paste text directly to and from the Virtual Lab without any extra steps, but others require you to use the Citrix clipboard to transfer text between the Virtual Lab and your local machine. 

 

Scenario:

Say you’ve logged in to your Virtual Lab using your Web browser and Citrix. You’ve written a nice program in Notepad on your local computer, and you want to paste that code into SAS Studio in the Virtual Lab:

SASJedi_0-1738595865067.png

You highlight and copy the Notepad code, but when you try to past it into the Virtual Lab, it doesn’t work. Try using the Citrix clipboard like this:

  1. Click on the Citrix menu “hamburger” at the top center of the web page:
    SASJedi_9-1738595967865.png
  2. In the pop-up menu, click on the Clipboard icon:
    SASJedi_10-1738596088141.png
  3. Paste your code into the Clipboard window that pops up.
    SASJedi_3-1738595865080.png
  4. Close the Clipboard window, click in the SAS Studio code editor in the Virtual Lab, and press ctrl-V to paste in your code. And violá – your code appears in SAS Studio.
    SASJedi_11-1738596331537.png
  5. To copy text out of the Virtual Lab to your local machine, reverse the process:
    • Highlight the text in the Virtual Lab, and press ctrl-c to copy
    • Open the Citrix clipboard as done above, and press ctrl-v to paste the text into the Clipboard pop-up window, then click Update:
      SASJedi_12-1738596461114.png
      (A note “Copied to Session clipboard" appears.)
    • Highlight the text, and press ctrl-C to copy the text to your local machine’s clipboard.
    • In your local machine, put the cursor where you want to insert the text and press ctrl-v:
      SASJedi_13-1738596547272.png

 

 

Check out my Jedi SAS Tricks for SAS Users

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 2718 views
  • 0 likes
  • 3 in conversation