Questions tagged [enterprise-guide]

Questions about using SAS Enterprise Guide as an IDE for writing SAS programs, or about setting up Enterprise Guide to connect to your SAS server. Questions about using Enterprise Guide that are not related to programming are not on topic (such as using its interactive point-and-click features to perform data analysis) - ask those on the SAS community forums.

Enterprise Guide ("EG") is the graphical user interface/IDE for the SAS system intended for novice and advanced users, simplifying common tasks with wizards and menu options while permitting advanced code to be written and run as well. EG also manages server connections to allow a user to execute SAS tasks without owning an individual seat license for a full SAS installation. Many concepts from EG will look familiar to users of other IDEs - project flow, the connection manager, etc. - but it is also intended to be easily used by novice users by putting access to commonly performed tasks in easily found locations.

SAS EG is also the interface for many of SAS' advanced tools, such as SAS BI.

Link to EG guide on SAS website

408 questions
3
votes
1 answer

remove "The SAS System" from SAS the log

Is there a way that will remove the sas system from Log? title; or title ''; i still can see this lable in log
deweweb
  • 41
  • 4
2
votes
3 answers

Changing FROM statement with a variable

I am trying to change the name of the table I am getting my data from Like this: COREPOUT.KUNDE_REA_UDL_202112 --> COREPOUT.KUNDE_REA_UDL_202203 I create my variable like this: PROC SQL NOPRINT; SELECT DISTINCT …
Christoffer
  • 326
  • 1
  • 4
  • 20
2
votes
1 answer

Changing SAS working directory on Citrix machine

I'm running SAS EG 7.1 on a Citrix machine at work. I'm trying to do a very large sql pull and keep running out of disk space. Our server drive has plenty of storage, so I assume switching the working directory to a folder on that drive temporarily…
Dr.Data
  • 167
  • 1
  • 10
2
votes
1 answer

How can I resolve this JVM error in SAS EG

I am trying to run the following code in my SAS EG: Data sashelp.air; proc sgplot data=sashelp.air; histogram AIR /; yaxis grid; run; The following error is coming up: ERROR: Unable to load the Java Virtual Machine. Please see the…
2
votes
1 answer

Is there a shortcut to run current code block, without selecting?

Many other IDEs have a feature to run the code block your cursor is placed in. According to the docs, SAS EG has the following shortcut: Run the selected code -> F3 But is there a shortcut for the following? Run code block your cursor is placed in…
MinneapolisCoder9
  • 601
  • 1
  • 11
  • 29
2
votes
1 answer

How to automate SAS enterprise guide reports with Python Script?

I tried with SASpy but it's not working. I am able to open the SAS .egp file but not able to run the multiple scripts within in sequence. import os, sys, subprocess def OpenProject(sas_exe, egp_path): sasExe = sas_exe sasEGpath = egp_path …
Abhi
  • 21
  • 3
2
votes
3 answers

Is there a easy method to copy Stored Process in SAS?

I am creating 40+ Stored Processes in SAS EG (Programs already written) and I am creating Stored Processes so that end users can run them without my intervention. Its a sloooow progress! Each SP has to be created individually. The SPs are generally…
Jeff Haynes
  • 83
  • 2
  • 9
2
votes
1 answer

Can you run SAS without actualy computing the table results

I am working with a gigantic database and SAS wont let me alter the queries without first running the entire SAS file and calculating everything which takes eternities. Is there a way of running SAS in a way I can alter the queries and run them…
2
votes
1 answer

How to Delete the first 10 and last 10 rows of a SAS Data file?

I am trying to delete the first ten and last ten of a SAS data file But I am not able to do this. By using the code below I am able to delete the last 10 rows but not the first 10. data b; set a NOBS=COUNT; if count <= 10 then delete; if count…
David Chris
  • 255
  • 4
  • 16
2
votes
3 answers

SAS Enterprise Guide using 1 query on multiple data sets

I want to run multiple data sets (that are in the same format) through a single query and for it to produce an output for each data set that is input. Is the possible in SAS Enterprise Guide?
Chris
  • 3,036
  • 5
  • 36
  • 53
2
votes
0 answers

SYSECHO SAS--what should be happening?

So I have the following code, I'll keep it simple. But I want to know what should be happening in SAS and where I should be getting the message output at because I currently can't see them and I'm not sure if my program is too large for SAS to…
resonance1
  • 97
  • 14
2
votes
1 answer

SAS - how to 'sum up' based on consecutive occurrences

First time post so hopefully someone can kindly assist on this problem I'm facing within SAS EG (still learning SAS coding so please be kind!) If you see a snippet of the dataset below what I'm trying to do is tally up the scores (pts) by Ref based…
Rockshah
  • 77
  • 2
  • 11
2
votes
1 answer

SAS Get metadata capabilities from a Role

I have a role of my system, but i need a script for get the metadata capabilities of this role. I have the URI that identify my Role, but i dont know how i can get all capabilities. thanks for your responses.
2
votes
2 answers

SAS EG: project file version not supported

My project was saved by SAS EG 7.1 and now I can't open it by SAS EG 6.1. Is there any way to open the project by older (6.1) SAS EG? Maybe there is some special option in SAS EG 7.1, that allow to save project for opening by older EG?
Vikora
  • 174
  • 1
  • 6
  • 19
2
votes
1 answer

How to have sas log in both external location and sas enterprise guide

I am using sas eg 5.1 version. right now I am routing my log details to an external file(text document) for record keeping. But while developing a code, I want the error log to appear in the sas egp log window also, so that it makes debugging faster…
1 2
3
27 28