10-08-2017 12:23 PM - edited 03-06-2018 02:41 AM
Could you please help in the following case. There is a line on each page when final listing is printed. Please see the picture below. Is there a method to eliminate the line?
10-08-2017 12:45 PM
10-09-2017 12:45 AM - edited 03-05-2018 05:51 AM
Thank you, Cynthia. I'm using the code below. It think that the style is defined in system options before the block but I have not found it. Possibly they are in system macros.
10-10-2017 12:33 AM
10-17-2017 04:03 AM - edited 10-20-2017 10:54 AM
Thank you, Cynthia. In my understanding the style Journal is a default style of SAS and it is standard for clinical trials Listings and Tables. It means that even we use a %print it just calls for this template 'Journal' and does not modify it. Is it correct interpretation?
How could I access the template and modify it?
10-21-2017 03:19 PM - edited 10-21-2017 03:20 PM
Use PROC TEMPLATE to see the style definition in the log.
proc template; source styles.journal; run;
The code box below shows a portion of the Journal style. frame = HSIDES produces the borders at the top and bottom of the table. frame = ABOVE produces a border at the top of the table.
style Output from Container / bordercolor = colors('fgA1') borderwidth = 1 borderspacing = 0 cellpadding = 7 frame = HSIDES rules = GROUPS backgroundcolor = colors('bgA1') bordercollapse = separate borderstyle = solid;
Create a modified version of the template and then use it.
ODS PATH WORK.TEMPLAT(UPDATE) SASHELP.Tmplmst(READ);
proc template; define style styles.modified_Journal; parent=styles.Journal; style Output from Output / frame = ABOVE; end; run; ods rtf file="/folders/myfolders/SAS Communities/modified Journal style.rtf" style=modified_Journal; proc report data=sashelp.class nowd; title 'SASHELP.class data set'; title2 'This is a modified version of the Journal style that ships with SAS'; run; ods rtf close;