Search notes:

SAS Enterprise Guide

SAS Enterprise Guide is an interactive interface to SAS (running locally or on a remote server).

Some possibly useful keyboard shortcuts

ctrl+g: jump to prompted line number. Useful if line numbers are displayed (Program->Editor Options->Show line numbers)
ctrl-/, ctrl-shift-/: (Un-)comment code.
ctrl-[, ctrl-]: jump to corresponding opening/closing parenthesis/brace
alt-num*: (un-)fold current block (num* = * on number block)
ctrl-alt-num+, ctrl-alt-num-: (un-)fold all foldings. (num- = minus sign on number block)
alt-shift-r: record macro and stop recording it.
ctrl-F1: play last recorded macro.
alt-F8: play any recorded macro.
ctrl-shift-m: Open keyboard macro window.
ctrl-F2: set/unset marker in current line.
F2: jump to next marked line.
shift-F2: jump to previous marked line
ctrl-shift-c: open color chooser.
More keyboard shortcuts under Program->Enhanced Editor Keys.

Opening any file as text

Tools -> Options -> Results -> Viewer -> File extensions to open as text by default.
German: Extras -> Optionen -> Ergebnisse -> Viewer -> ...

Tips

Menu: Programm -> AutoText-Makro hinzufügen…

Creating Visual Basic for Application Code

Using File->Schedule Project can be used to create a VB Script program that uses SAS Enetrprise Guide automation interface to run the project.
The destination of the *.vbs file is determined with the action (?) tab.

Turning off syntaxcheck

EG turns off syntaxcheck at the beginning of every task!

TODO

Projects

A project is a record of
  • the data sets that have been opened,
  • the tasks that have been run,
  • the results that have been produced and
  • the relationship between these objects.
In SAS Enterprise Guide, one project is opened at a time.
A project can either be represented as a tree structure in the project explorer or as a process flow in the project designer.

EGP files

*.egp files are enterprise guide project files.

Running programs in batch

Apparently, File->Schedule Project creates a VB Script file and adds a scheduled task to the Windows scheduler.

*.egp files

Apparently, *.egp files are in reality zip files. So, they can be renamed to foo.zip and then opened with a zip explorer. Such a zip file seems to contain former versions of the project.

See also

SAS
SAS Management Console
Automatic variables that are set by EG.

Index