BookmarkSubscribeRSS Feed

SAS Studio tip: How to Layout Tabs

Started ‎07-06-2018 by
Modified ‎08-04-2021 by
Views 12,208

SAS Studio (3.x and 4.x) has two types of tabs. The main tabs are those tabs that have the dark blue bar on the top. Programs and data sets, for example, are opened in main tabs. Secondary tabs have the blue bar under the tab and are usually found within a program. You can rearrange both these tab types by dragging them to valid drop zones.

 

Layout.png

 

 

 

 

 

 

The main tabs can have standard, horizontal, or a vertical layout. A program’s secondary tabs have a few more layout options. It all depends on how you like to work and your monitor size.

 

StudioLayout.gif

 

Rearranging the main tabs, vertically

  1. Open two files. This example will use two data sets from the SASHELP library.
  2. Click on a file’s tab and start dragging it. You’ll notice that a red X appears, indicating an invalid drop-zone.
  3. Continue (slowly) dragging the tab to the far right of SAS Studio’s screen. Keep dragging until you see the red X turn to green and a gray drop zone appears. You’ve reached a valid drop-zone.
  4. Release the mouse and the dragged tab will now display on the right side – displaying both tabs at the same time.
Tip 1: Double-click a main tab to hide and show the panes on the left to give you more real estate 
to work with. Alt+11 (Windows) or Fn+Shift+F11 (MAC) also performs the same function.

Once you create a vertical or horizontal layout, you can add tabs to either grouping. For example, this layout shows four tabs in a vertical layout, two tabs in each grouping.

 

Layout2.png

 

Rearranging the main tabs, horizontally

You can create a horizontal layout by dragging a tab to the bottom of the SAS Studio window. If you already have a vertical layout you cannot have a horizontal layout at the same time. You need to first restore the tab layout to the standard layout and then you can drag tabs to have a horizontal layout.

 

Example of a horizontal layout:

 

 Layout4.png

 

Rearranging a Program’s secondary tabs

You can achieve more layouts with the program’s tabs than with the main tabs. This exercise will show you how to layout the program tab so that you can see the code and the log at the same time.

  1. Open a program file. There are many ways to do this.
  • Right-click an existing tab and click New SAS Program
  • F4 (Windows) or Fn+F4 (MAC)
  • New > SAS Program

By default, you see three secondary tabs – Code, Log, Results. The Output Data tab only displays when your code generates data.

  1. Click and start dragging the Log tab.
  2. Continue (slowly) dragging the Log tab to the bottom of the Program tab.
  3. When you see a valid drop zone, release the mouse. The Log tab is now displayed below the Code tab.Layout3.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

While not as flexible as a desktop application, SAS Studio does provide ways to see multiple tabs side-by-side.

 

Tip 3: Alt+2 (Windows) or Option+2 (MAC) will quickly move you between the Program’s secondary tabs.

 

 An pdf version is attached in case you want to a hard copy or share it. 

 

Comments

Is it possible to drag a tab into another browser window entirely? I'd love to be able to have my code on one screen and my output and results on the second monitor. 

Hi @Reeza

 

Many people have asked for this. Unfortunately, Studio is restricted to what browsers allow us to do. Until browsers give us better capabilities for doing this we can't be as rich as a desktop app. 

 

Samantha

@samdupont

I'm new to SAS/Studio after spending most of my career working in Base SAS.

 

In Base SAS, if I run into a problem, for example a problem merging two data sets, I can open and rearrange as many windows as I need to see what is going on. For example, in this screen capture, I want to see the two data sets that I would like to merge, and my code, so in Base SAS I just re-arrange all three windows to meet my needs. Is this possible in SAS/Studio?

 

Capture.PNG

Hi @PaigeMiller

 

Coming from a desktop application, like Base SAS, to a browser- based app, like SAS Studio, has it's pros and cons. Studio is hosted in a browser which limits our window layout flexibility. We do continue to explore more ways to bring our users more flexibility, but for now the limit is being able to layout two windows side-by-side. 

 

Samantha 

UX Designer for SAS Studio and SAS Enterprise Guide

So it's not possible at this time to have a layout of three windows in SAS/Studio. Is this layout of three windows possible in Enterprise Guide? If so, how?

@PaigeMiller

 

Hi, 

 

It is not possible to have a layout with more than 2 tabs (windows) open at the same time in either Studio or Enterprise Guide. 2 is the limit. EG8.1, which will be released in 2019 will allow you to have a layout with as many tab (windows) open as you would like. 

 

Here is a preview of your example layout using EG 8.1.

 

Layout.png

 

Sam

Version history
Last update:
‎08-04-2021 01:38 PM
Updated by:

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags