This isn't going to help you much I am afraid, but I have looked at creating TOC's and other more complicated PDF/RTF outputs with SAS, and never had any success. Its just way too fiddly and difficult to do simple things. For instance bookmarks, should be simple but nope. Ended up getting a command line utility which can extract and apply metadata, and using that. My advice would be to dump all your outputs to RTF, then in Word use VBA to build the document you need and convert it from there.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.