Adding a Query to a Process Flow

Create a New Query

To create a new query:
  1. Click Add button and select Query. A node for the query is added to the process flow.
  2. Select the node and click Open button. The Query Builder appears.
  3. Use the Query Builder to define your query. For more information, see Creating a New Query.
  4. To define the type of results for the query, use the Properties tab. For more information, see Saving Your Results.
  5. To name the query node, to provide a brief description for the query, and to include any notes, click the Node tab.
    To return to the view of the process flow, select the name of the process flow in the breadcrumbs. The query node in the process flow now contains the name and description that you specified on the Node tab.
    Example of a Query Node in the Process Flow

Add an Existing Query to a Process Flow

You might have already written a query that you want to include in the process flow. To add this query:
  1. In the navigation pane, click the Folders section.
  2. Expand the folders in the Folders section until you find the program that you want to add.
  3. Select the query that you want to add, and then drag it in the process flow. (A green check mark indicates that you can add this file to the process flow.)
    In this example, you are adding the existing Query_CLASSFIT file to the process flow in SAS Studio.
    Query_CLASSFIT Node in the Process Flow