BookmarkSubscribeRSS Feed
Bootler
Fluorite | Level 6

I am trying to produce a histogram in Sas.  I keep getting this error for some reason. I thought maybe it was my browser, so I tried it both on Chrome and Firefox with nothing different happening. Is this a Sas problem or my computer just acting weird? (I made a dummy data set and provided the log).

 

 

Code:

 

Data ab;
input first second;
datalines;
1 1
2 1
2 2
;
run;

proc sgplot;
series X=first Y=second;
run;

 

 

 

 

 

Log:

 

 

 

 

 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

 59        

 60         Data ab;

 61         input first second;

 62         datalines;

 

 NOTE: The data set WORK.AB has 3 observations and 2 variables.

 NOTE: DATA statement used (Total process time):

       real time           0.00 seconds

       user cpu time       0.01 seconds

       system cpu time     0.00 seconds

       memory              763.93k

       OS Memory           25508.00k

       Timestamp           06/27/2017 08:36:22 PM

       Step Count                        4  Switch Count  38

       Page Faults                       0

       Page Reclaims                     542

       Page Swaps                        0

       Voluntary Context Switches        98

       Involuntary Context Switches      0

       Block Input Operations            0

       Block Output Operations           264

      

 66         ;

 

 67         run;

 68        

 69         proc sgplot;

 70         series X=first Y=second;

 71         run;

 

 NOTE: PROCEDURE SGPLOT used (Total process time):

       real time           1.01 seconds

       user cpu time       0.01 seconds

       system cpu time     0.00 seconds

       memory              840.00k

       OS Memory           25508.00k

       Timestamp           06/27/2017 08:36:24 PM

       Step Count                        5  Switch Count  27

       Page Faults                       1

       Page Reclaims                     679

       Page Swaps                        0

       Voluntary Context Switches        67

       Involuntary Context Switches      0

       Block Input Operations            352

       Block Output Operations           272

      

 ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.

 ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.

 ERROR: Unable to load the Java Virtual Machine. Please see the installation instructions or system administrator.

 NOTE: The SAS System stopped processing this step because of errors.

 NOTE: There were 3 observations read from the data set WORK.AB.

 72        

 73         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

 85        

3 REPLIES 3

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3 replies
  • 3524 views
  • 1 like
  • 3 in conversation