BookmarkSubscribeRSS Feed
Jaime
Fluorite | Level 6
Hi all,

Why wont the ODS Graphics Designer recognize my mapped library or read the datasets I created in the WORK directoty?

I am using this call:
%sgdesign(refresh=Y);
%sgdesign();
8 REPLIES 8
PrashantH_sas
SAS Employee
Hi,

Please provide your SAS version and the platform you are running on.

Are you able to see *any* libraries like sashelp, for example?

Regards,
-Prashant.
Jaime
Fluorite | Level 6
SAS 9.2 TS Level 2M3

I can see SASHELP, SASUSER and WORK.
But the WORK directory does not update to the datasets actually in there.
PrashantH_sas
SAS Employee
I am assuming you are on a windows machine. Are you using a network-based SAS or is SAS local to your desktop?

The refresh=Y should have worked. Please contact SAS Tech support and provide them the log output from %sgdesign(debug=Y, );

Regards,
-Prashant.
asmits
Calcite | Level 5
Hi,

I have the same issue. All of a sudden ODS Designer does not show any data set. It shows the message "the library is empty or data sets are not usable" for all three WORK, SASHELP and SASUSER. I am running the M3 build on XP. It has worked fine before with this version, immediately after I upgraded from M2.
%sgdesign(debug=Y) gives following info in the log:
MPRINT(CHECKSERVER): proc printto
log="C:\DOCUME~1\asmits\LOCALS~1\Temp\SAS Temporary
Files\_TD1168\_tstServ_" new;
MPRINT(CHECKSERVER): run;

NOTE: PROCEDURE PRINTTO used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


MPRINT(SGDESIGN): ;
MPRINT(SGDESIGN): ;
** sasExe=C:\Program Files\SAS92TS2\SASFoundation\9.2\sas.exe
** configArg=-config "C:\Program
Files\SAS92TS2\SASFoundation\9.2\nls\en\SASV9.CFG"
** serverCmd=""C:\Program
Files\SAS92TS2\SASFoundation\9.2\sas.exe"" -config "C:\Program
Files\SAS92TS2\SASFoundation\9.2\nls\en\SASV9.CFG" -nosplash
-rsasuser -macro -nocardimage -noterminal -noxcmd -nolog
-altlog srvlog.txt -objectserver -objectserverparms
""protocol=bridge port=5310 nosecurity cel=none """"
** galleryDir=C:\Program
Files\SAS92TS2\SASFoundation\9.2\graph\sasmisc\plot_gallery
MPRINT(SGDESIGN): ;
MPRINT(WRITEOPTIONS): data _null_;
MPRINT(WRITEOPTIONS): file
"C:\DOCUME~1\asmits\LOCALS~1\Temp\SAS Temporary
Files\_TD1168\_option_";
MPRINT(WRITEOPTIONS): length optVal $100;
MPRINT(WRITEOPTIONS): array opts{9} $15 ("fmtsearch"
"missing" "label" "fmterr" "validvarname" "sortseq" "datestyle"
"locale" "encoding");
MPRINT(WRITEOPTIONS): do i = 1 to 9;
MPRINT(WRITEOPTIONS): optVal=getoption(opts{i}, 'keyword');
MPRINT(WRITEOPTIONS): put optVal;
MPRINT(WRITEOPTIONS): end;
MPRINT(WRITEOPTIONS): put "nocaps";
MPRINT(WRITEOPTIONS): put "noerrorabend";
MPRINT(WRITEOPTIONS): put "noerrorbyabend";
MPRINT(WRITEOPTIONS): put "firstobs=1";
MPRINT(WRITEOPTIONS): put "obs=max";
MPRINT(WRITEOPTIONS): put "mergenoby=nowarn";
MPRINT(WRITEOPTIONS): put "nostimer";
MPRINT(WRITEOPTIONS): put "nofullstimer";
MPRINT(WRITEOPTIONS): put "validfmtname=long";
MPRINT(WRITEOPTIONS): run;

NOTE: The file "C:\DOCUME~1\asmits\LOCALS~1\Temp\SAS Temporary
Files\_TD1168\_option_" is:

Filename=C:\DOCUME~1\asmits\LOCALS~1\Temp\SAS Temporary
Files\_TD1168\_option_,
RECFM=V,LRECL=256,File Size (bytes)=0,
Last Modified=05Oct2010:15:57:48,
Create Time=05Oct2010:15:43:01

NOTE: 18 records were written to the file
"C:\DOCUME~1\asmits\LOCALS~1\Temp\SAS Temporary
Files\_TD1168\_option_".
The minimum record length was 5.
The maximum record length was 24.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds


MPRINT(SGDESIGN): ;
MPRINT(SGDESIGN): systask kill sgdesign_server;
WARNING: The quoted string currently being processed has become
more than 262 characters long. You may have
unbalanced quotation marks.
MPRINT(SGDESIGN): systask command " ""C:\Program
Files\SAS92TS2\SASFoundation\9.2\sas.exe"" -config "C:\Program
Files\SAS92TS2\SASFoundation\9.2\nls\en\SASV9.CFG" -nosplash
-rsasuser -macro -nocardimage -noterminal -noxcmd -nolog
-altlog srvlog.txt -objectserver -objectserverparms
""protocol=bridge port=5310 nosecurity cel=none """" "
taskname=sgdesign_server status = serverRC;
** sysrc=0 ** serverrc= **
"sgdesign_server" --------------
Type: Task
State: RUNNING
Status Macro Variable: serverRC
MPRINT(SGDESIGN): systask list _all_ ;
MPRINT(SGDESIGN): proc jlaunch direct librefs
MPRINT(SGDESIGN): debug
app='com/sas/graphics/sgdesigner/SGDesigner';
MPRINT(SGDESIGN): picklist name='graph/graph.txt';
MPRINT(SGDESIGN): joption name="internal" value="true";
MPRINT(SGDESIGN): joption name="galleryDir" value="C:\Program
Files\SAS92TS2\SASFoundation\9.2\graph\sasmisc\plot_gallery";
MPRINT(SGDESIGN): joption name="portNum" value="5310";
MPRINT(SGDESIGN): run;

NOTE: JLAUNCH options sent to java application:
NOTE: SASROOT=C:\Program Files\SAS92TS2\SASFoundation\9.2
NOTE: CONFIG=C:\Program
Files\SAS92TS2\SASFoundation\9.2\nls\en\SASV9.CFG
NOTE: SYSSCP=WIN
NOTE: LIBREFS=SASUSER.librefs
NOTE: CLASSNAME=com/sas/graphics/sgdesigner/SGDesigner
NOTE: WORKLIBPATH=C:\DOCUME~1\asmits\LOCALS~1\Temp\SAS
Temporary Files\_TD1168
NOTE: internal=true
NOTE: galleryDir=C:\Program
Files\SAS92TS2\SASFoundation\9.2\graph\sasmisc\plot_galler
y
NOTE: portNum=5310
NOTE: PROCEDURE JLAUNCH used (Total process time):
real time 0.51 seconds
cpu time 0.00 seconds
PrashantH_sas
SAS Employee
Hi,

Were there any error dialogs after you quit SAS (not just the Designer) ?

Are you able to run a simple proc sgplot example and see the output ?
--
proc sgplot data=sashelp.class; vbar age; run;
--

Regards,
Prashant.
PrashantH_sas
SAS Employee
Hi,

Just before it stopped working, did you change anything with respect to password protection for datasets, system option obs=, or somehow add userdefined formats to the datasets?

Also, could you report back the value for Size in
Tools->Preferences->Render tab->Size

Regards,
-Prashant.
asmits
Calcite | Level 5
Hi Pranshant,

The SGPLOT runs fine. The size is 100.000. I never use PW protection or anything. I am using GTL in macro's and those work.

Thanks,
Alain
PrashantH_sas
SAS Employee
Hi Alain,

At this point, it would best to contact Techinical support for the resolution of your problem.

Regards,
-Prashant.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 8 replies
  • 1740 views
  • 0 likes
  • 3 in conversation