BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
J111
Obsidian | Level 7

Hello,

 

Please find my question on EGUIDE graph posted here :

https://communities.sas.com/t5/SAS-Programming/An-sgplot-is-not-created-with-Eguide/m-p/920239

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
yabwon
Onyx | Level 15

1) try making:

ODS HTML5 FILE=TEST
...
;

2) what options do you have in:

yabwon_0-1710761001061.png

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



View solution in original post

12 REPLIES 12
yabwon
Onyx | Level 15

Solution is here:

https://communities.sas.com/t5/SAS-Programming/An-sgplot-is-not-created-with-Eguide/m-p/920609#M3625...

 

🙂

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



J111
Obsidian | Level 7

Hello,

Please find the log for the program you sent:

 

 

1          ;*';*";*/;quit;run;

2          OPTIONS PAGENO=MIN;

3          %LET _CLIENTTASKLABEL='Program';

4          %LET _CLIENTPROCESSFLOWNAME='Process Flow';

5          %LET _CLIENTPROJECTPATH='\\mvsrvpikuah\vpikuah\Project.egp';

6          %LET _CLIENTPROJECTPATHHOST='PC0V8PY0';

7          %LET _CLIENTPROJECTNAME='Project.egp';

8          %LET _SASPROGRAMFILE='';

9          %LET _SASPROGRAMFILEHOST='';

10        

11         ODS _ALL_ CLOSE;

12         OPTIONS DEV=SVG;

13         GOPTIONS XPIXELS=0 YPIXELS=0;

14         %macro HTML5AccessibleGraphSupported;

15             %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) >= 0 %then ACCESSIBLE_GRAPH;

16         %mend;

17         FILENAME EGHTML TEMP;

18         ODS HTML5(ID=EGHTML) FILE=EGHTML

19             OPTIONS(BITMAP_MODE='INLINE')

20             %HTML5AccessibleGraphSupported

21             ENCODING='utf-8'

22             STYLE=HTMLBlue

23             NOGTITLE

24             NOGFOOTNOTE

25             GPATH=&sasworklocation

26         ;

NOTE: Writing HTML5(EGHTML) Body file: EGHTML

27        

28         FILENAME EGHTML "%sysfunc(pathname(work))/test.html";

ERROR: At least one file associated with fileref EGHTML is still in use.

ERROR: Error in the FILENAME statement.

28       !                                                       /* <---------------- */

29        

30         ODS HTML5(ID=EGHTML) FILE=EGHTML

31         OPTIONS(BITMAP_MODE='INLINE')

32         %HTML5AccessibleGraphSupported

33         ENCODING='utf-8'

34         STYLE=HTMLBlue

35         NOGTITLE

36         NOGFOOTNOTE

37         GPATH=&sasworklocation

38         ;

NOTE: Writing HTML5(EGHTML) Body file: EGHTML

39        

40         title "WOW";

41         proc sgplot data=sashelp.class;

42         series x=weight y=height / group=sex ;

43         run;

 

NOTE: PROCEDURE SGPLOT used (Total process time):

     real time           2.20 seconds

      cpu time            0.06 seconds

     

NOTE: There were 19 observations read from the data set SASHELP.CLASS.

 

yabwon
Onyx | Level 15

Try adding:

FILENAME EGHTML clear;

before:

FILENAME EGHTML "%sysfunc(pathname(work))/test.html";

If it doesn't help do:

FILENAME TEST "%sysfunc(pathname(work))/test.html";

ODS HTML5(ID=EGHTML) FILE=TEST 
...
...
...
;

 

 

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



J111
Obsidian | Level 7

Hello,

Please find below the log from your last program - the graph is still not created:-

J111_0-1710760564389.png

 

1          ;*';*";*/;quit;run;

2          OPTIONS PAGENO=MIN;

3          %LET _CLIENTTASKLABEL='Program 1';

4          %LET _CLIENTPROCESSFLOWNAME='Process Flow';

5          %LET _CLIENTPROJECTPATH='\\mvsrvpikuah\vpikuah\Project.egp';

6          %LET _CLIENTPROJECTPATHHOST='PC0V8PY0';

7          %LET _CLIENTPROJECTNAME='Project.egp';

8          %LET _SASPROGRAMFILE='';

9          %LET _SASPROGRAMFILEHOST='';

10        

11         ODS _ALL_ CLOSE;

12         OPTIONS DEV=SVG;

13         GOPTIONS XPIXELS=0 YPIXELS=0;

14         %macro HTML5AccessibleGraphSupported;

15             %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) >= 0 %then ACCESSIBLE_GRAPH;

16         %mend;

17         FILENAME EGHTML TEMP;

18         ODS HTML5(ID=EGHTML) FILE=EGHTML

19             OPTIONS(BITMAP_MODE='INLINE')

20             %HTML5AccessibleGraphSupported

21             ENCODING='utf-8'

22             STYLE=HTMLBlue

23             NOGTITLE

24             NOGFOOTNOTE

25             GPATH=&sasworklocation

26         ;

NOTE: Writing HTML5(EGHTML) Body file: EGHTML

27        

28         FILENAME TEST "%sysfunc(pathname(work))/test.html";

29         ODS HTML5(ID=EGHTML) FILE=TEST

30         OPTIONS(BITMAP_MODE='INLINE')

31         %HTML5AccessibleGraphSupported

32         ENCODING='utf-8'

33         STYLE=HTMLBlue

34         NOGTITLE

35         NOGFOOTNOTE

36         GPATH=&sasworklocation

37         ;

NOTE: Writing HTML5(EGHTML) Body file: TEST

38        

39         title "WOW";

40         proc sgplot data=sashelp.class;

41         series x=weight y=height / group=sex ;

42         run;

 

NOTE: PROCEDURE SGPLOT used (Total process time):

      real time           2.16 seconds

      cpu time            0.06 seconds

     

NOTE: There were 19 observations read from the data set SASHELP.CLASS.

 

yabwon
Onyx | Level 15

1) try making:

ODS HTML5 FILE=TEST
...
;

2) what options do you have in:

yabwon_0-1710761001061.png

 

Bart

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



J111
Obsidian | Level 7

2)

 

J111_0-1710763101160.pngJ111_1-1710763118014.png

J111_2-1710763131414.png

Hello, Please find my option settings - for me the graph is plotted.

However, my colleague has the same settings but the graph is not plotted for her.

 

yabwon
Onyx | Level 15

could you paste your colleague settings? maybe there is something different...

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



J111
Obsidian | Level 7

1)

Hello, this code you gave is dint help, the graph was not created

 

1          ;*';*";*/;quit;run;

2          OPTIONS PAGENO=MIN;

3          %LET _CLIENTTASKLABEL='Program 1';

4          %LET _CLIENTPROCESSFLOWNAME='Process Flow';

5          %LET _CLIENTPROJECTPATH='\\mvsrvpikuah\vpikuah\PIKUAHJR\YEHIDA\עובדים\שיר דבורה\השוואת סניפים\רגרסיה\Project.egp';

6          %LET _CLIENTPROJECTPATHHOST='PC0V8PY0';

7          %LET _CLIENTPROJECTNAME='Project.egp';

8          %LET _SASPROGRAMFILE='';

9          %LET _SASPROGRAMFILEHOST='';

10        

11         ODS _ALL_ CLOSE;

12         OPTIONS DEV=SVG;

13         GOPTIONS XPIXELS=0 YPIXELS=0;

14         %macro HTML5AccessibleGraphSupported;

15             %if %_SAS_VERCOMP_FV(9,4,4, 0,0,0) >= 0 %then ACCESSIBLE_GRAPH;

16         %mend;

17         FILENAME EGHTML TEMP;

18         ODS HTML5(ID=EGHTML) FILE=EGHTML

19             OPTIONS(BITMAP_MODE='INLINE')

20             %HTML5AccessibleGraphSupported

21             ENCODING='utf-8'

22             STYLE=HTMLBlue

23             NOGTITLE

24             NOGFOOTNOTE

25             GPATH=&sasworklocation

26         ;

NOTE: Writing HTML5(EGHTML) Body file: EGHTML

27        

28        

29         ods graphics on  ;

30        

31         FILENAME TEST "%sysfunc(pathname(work))/test.html";

32         ODS HTML5 FILE=TEST

33         OPTIONS(BITMAP_MODE='INLINE')

34         %HTML5AccessibleGraphSupported

35         ENCODING='utf-8'

36         STYLE=HTMLBlue

37         NOGTITLE

38         NOGFOOTNOTE

39         GPATH=&sasworklocation

40         ;

NOTE: Writing HTML5 Body file: TEST

41        

42         title "WOW";

43         proc sgplot data=sashelp.class;

44         series x=weight y=height / group=sex ;

45         run;

 

NOTE: PROCEDURE SGPLOT used (Total process time):

      real time           2.28 seconds

      cpu time            0.11 seconds

     

NOTE: There were 19 observations read from the data set SASHELP.CLASS.

 

yabwon
Onyx | Level 15

does your colleague runs the project from a network drive?

\\mvsrvpikuah\vpikuah\Project.egp

could she copy it locally ?

 

Bart  

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



J111
Obsidian | Level 7

Hello,

She copied it locally and still the graph is not created

yabwon
Onyx | Level 15

ok, (maybe it's to early for the "ultimate IT solution" but...) try to reinstall EG?

 

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



J111
Obsidian | Level 7

Hello,

 

The options are identical on her computer, we doubled check.

All the test code in the above correspondence did not help.

2 other colleagues have no issue with created a SEG plot.

Only one colleague on the same site has an issue.

Thanks & regards

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 12 replies
  • 1505 views
  • 0 likes
  • 2 in conversation