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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 4207 views
  • 1 like
  • 3 in conversation