Problem Note 5777: ODS uses the wrong name in bookmarks for templated GREPLAY graph
In ODS output, if a table of contents is generated, the heading and
subheading text for graphics output comes from the procedure name and
graph description, respectively. The heading can be changed using the
ODS PROCLABEL statement, and the subheading can be changed using the
DESCRIPTION= parameter within the graphics procedure. However, with
templated GREPLAY output, the DESCRIPTION is ignored.
The following example should produce the heading "My Greplay Heading"
with the subheading "My Greplay Description" in the PDF file:
goptions nodisplay;
ods listing close;
ods pdf file='output.pdf';
ods proclabel='My Greplay Heading';
goptions display;
proc greplay igout=work.gseg nofs tc=sashelp.templt;
template v2;
treplay 1:1 2:2 name='bookmark' des='My Greplay Description';
run;
quit;
ods pdf close;
ods listing;
Instead, the bookmark reads "1 BOX UP, 1 BOX DOWN". The description
from the V2 template entry, not the templated graph, is used.
To circumvent the problem, modify the description of the templated graph
before it is written out, as in the following example:
goptions nodisplay;
ods listing close;
ods pdf file='output.pdf';
ods proclabel='My Greplay Heading';
proc greplay igout=work.gseg nofs tc=sashelp.templt;
template v2;
treplay 1:1 2:2;
modify template / des='My Greplay Description';
goptions display;
replay template;
run;
quit;
ods pdf close;
ods listing;
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | SAS/GRAPH | Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Microsoft Windows NT Workstation | 8.2 TS2M0 | 9.1 TS1M0 |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9.1 TS1M0 |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9.1 TS1M0 |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9.1 TS1M0 |
| Solaris | 8.2 TS2M0 | 9.1 TS1M0 |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9.1 TS1M0 |
| OpenVMS VAX | 8.2 TS2M0 | 9.1 TS1M0 |
| IRIX | 8.2 TS2M0 | 9.1 TS1M0 |
| 64-bit Enabled Solaris | 8.2 TS2M0 | 9.1 TS1M0 |
| Linux | 8.2 TS2M0 | 9.1 TS1M0 |
| z/OS | 8.2 TS2M0 | 9.1 TS1M0 |
| OS/2 | 8.2 TS2M0 | |
| ABI+ for Intel Architecture | 8.2 TS2M0 | 9.1 TS1M0 |
| 64-bit Enabled HP-UX | 8.2 TS2M0 | 9.1 TS1M0 |
| HP-UX | 8.2 TS2M0 | 9.1 TS1M0 |
| OpenVMS Alpha | 8.2 TS2M0 | 9.1 TS1M0 |
| CMS | 8.2 TS2M0 | 9.1 TS1M0 |
| 64-bit Enabled AIX | 8.2 TS2M0 | 9.1 TS1M0 |
| Tru64 UNIX | 8.2 TS2M0 | 9.1 TS1M0 |
| AIX | 8.2 TS2M0 | 9.1 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2001-09-04 14:33:29 |
| Date Created: | 2001-09-04 14:33:29 |