Error in a ODS LAYOUT

  • Follow


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=3D"Red"]ERROR: Absolute layout is supported only for ODS PRINTER.
Non-COLUMN/ROW LAYOUT requests will be ignored for other destinations.
[/COLOR]
and
[COLOR=3D"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=3D"F:\test.pdf"
style=3Djournal
bookmarklist=3Dnone;
GOPTION device=3Dsasprtc htext=3D2 ftext=3D"Courier";
PATTERN1 v=3Dsolid c=3Dlightblue;
TITLE "Test de l'ODS Layout";
/* Initialisation de l'ODS Layout*/
ODS layout start;
/* r=E9gion 1 : un texte*/
ODS region x=3D2cm y=3D2cm width=3D18cm height=3D5cm ;
ODS PDF text=3D"ODS Layout";
/* r=E9gion 2 : les donn=E9es de d=E9tail */
ODS region x=3D0cm y=3D5cm width=3D10cm height=3D20cm ;
PROC PRINT data=3Dsashelp.class; RUN;
/* r=E9gion 3 : un nuage de point*/
ODS region x=3D9cm y=3D5cm width=3D10cm height=3D10cm;
TITLE;
PROC GCHART data=3Dsashelp.class ;
vbar age / sumvar=3Dheight
WIDTH=3D10
DISCRETE
TYPE=3DMEAN
COUTLINE=3DBLACK;
RUN;QUIT;
/* r=E9gion 4 : un tableau*/
ODS region x=3D10cm y=3D15cm width=3D10cm height=3D10cm;
PROC TABULATE data=3Dsashelp.class;
class age;
var height;
table height,age*mean=3D"";
RUN;QUIT;
ODS layout end;
ODS PDF CLOSE;[/CODE]

Un grand merci =E0 vous
0
Reply pernao.barcelona (1) 5/26/2010 12:59:07 PM


0 Replies
770 Views

(page loaded in 0.027 seconds)

Similiar Articles:













7/23/2012 7:39:35 PM


Reply: