From: pernao on 26 May 2010 08:59 Hello, In order to create a page of pdf file, i use ODS LAYOUT REGION to determine region of my graphics and tabulates. But i've got a error, problem of my sas rights? [COLOR="Red"]ERROR: Absolute layout is supported only for ODS PRINTER. Non-COLUMN/ROW LAYOUT requests will be ignored for other destinations. [/COLOR] and [COLOR="Red"]ERROR: Read Access Violation In Task [ OBJECT_EXECUTIVE ) Exception occurred at (60DAFC91) Task Traceback Address Frame (DBGHELP API Version 4.0 rev 5) 60DAFC91 032BF3D4 sasmrk:mcn_main+0x5EC91 60D83652 032BF404 sasmrk:mcn_main+0x32652 674DE11C 032BF4A0 sasods:mcn_main+0x4D11C 67451223 032BF7F4 sasodst:mcn_main+0x223 674F6461 032BF88C sasods:mcn_main+0x65461 67871D0F 032BF91C sasxshel:mcn_main+0x30D0F 6787138D 032BF92C sasxshel:mcn_main+0x3038D 674F6A1F 032BFA08 sasods:mcn_main+0x65A1F 67451124 032BFA5C sasodst:mcn_main+0x124 676A1EC9 032BFAC8 sasxany:mcn_main+0xEC9 67842617 032BFB60 sasxshel:mcn_main+0x1617 6785A2AA 032BFBE4 sasxshel:mcn_main+0x192AA 67878870 032BFD40 sasxshel:mcn_main+0x37870 67876CCA 032BFDB0 sasxshel:mcn_main+0x35CCA 67875BB4 032BFE04 sasxshel:mcn_main+0x34BB4 5F8A16C3 032BFF8C sasxobj:mcn_main+0x6C3 00F32B02 032BFFA4 sashost:Main+0xBE72 00F36C20 032BFFB8 sashost:Main+0xFF90 7C82482F 032BFFEC kernel32:GetModuleHandleA+0xDF[/COLOR] This is my code to create the pdf [CODE]ODS LISTING CLOSE; ODS PDF file="F:\test.pdf" style=journal bookmarklist=none; GOPTION device=sasprtc htext=2 ftext="Courier"; PATTERN1 v=solid c=lightblue; TITLE "Test de l'ODS Layout"; /* Initialisation de l'ODS Layout*/ ODS layout start; /* région 1 : un texte*/ ODS region x=2cm y=2cm width=18cm height=5cm ; ODS PDF text="ODS Layout"; /* région 2 : les données de détail */ ODS region x=0cm y=5cm width=10cm height=20cm ; PROC PRINT data=sashelp.class; RUN; /* région 3 : un nuage de point*/ ODS region x=9cm y=5cm width=10cm height=10cm; TITLE; PROC GCHART data=sashelp.class ; vbar age / sumvar=height WIDTH=10 DISCRETE TYPE=MEAN COUTLINE=BLACK; RUN;QUIT; /* région 4 : un tableau*/ ODS region x=10cm y=15cm width=10cm height=10cm; PROC TABULATE data=sashelp.class; class age; var height; table height,age*mean=""; RUN;QUIT; ODS layout end; ODS PDF CLOSE;[/CODE] Un grand merci à vous
|
Pages: 1 Prev: Exporting 3D Graphs from SAS EIS to external formats- TIFF, GIF, PDF Next: retain in data step |