| Date: | Thu, 24 Aug 2000 19:30:09 -0400 |
| Reply-To: | Pierre Dostie <pdostie@SYMPATICO.CA> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Pierre Dostie <pdostie@SYMPATICO.CA> |
| Subject: | Folders in the Contents file |
| Content-Type: | multipart/alternative;
|
|---|
Hi, it's been a long time that I try to solve a problem. I use a loop macro to create SAS ouput in a HTML format. The problem is that I want to group some outputs under the same folder(ODS proclabel);
Here's a exemple:
ods trace on;
ods path sasuser.templat sashelp.tmplmst;
ods listing close;
ods html body="c:\Mes Documents\My SAS Files\summary-html.htm"
contents="c:\Mes Documents\My SAS Files\contents-html.htm";
%macro fich;
%do i = 1 %to 3;
%do j = 1%to 2;
ods proclabel="RAPPORT NO &i";
title "TITLE NO &j";
....
%end;
%end;
%mend fich;
%fich;
ods html close;
ods listing;
ods trace off;
And the Contents File is:
Table of Contents
--------------------------------------------------------------------------------
RAPPORT NO 1
·TITLE NO 1
RAPPORT NO 1
·TITLE NO 2
RAPPORT NO 2
·TITLE NO 1
RAPPORT NO 2
·TITLE NO 2
RAPPORT NO 3
·TITLE NO 1
RAPPORT NO 3
·TITLE NO 2
All I want to do is to be able to put the TITLE NO1 and the TITLE NO2 under the same RAPPORT NO. Is there a way to do that.
Thanks
Pierre Dostie
[text/html]
|