BookmarkSubscribeRSS Feed
Navnath_More
Calcite | Level 5

Hi Everyone,
I'm working with the ModifySASCode application in SAS 9.4 to update file paths in my SAS programs. The tool is generally working well for procedures like PROC EXPORT, but I'm encountering an issue with ODS PDF paths.

Problem:

The tool does not seem to update or even capture ODS PDF paths in my SAS code. After running the tool with the --generate-map flag and applying the generated mapping file, I noticed that paths for ODS PDF statements are not included in the mapping.csv file, and even after manually updating the mapping.csv, the tool does not modify the ODS PDF paths in the SAS programs.

Steps I Have Taken:

I ran SAS 9 Code Check to scan for paths in my SAS programs, and the mapping.csv generated paths for PROC EXPORT, but not for ODS PDF paths.

I manually edited the mapping.csv to include the old and new ODS PDF paths (for example: D:\Raw Data\Pdf.pdf -> /sasdata/NewPdf.pdf), but ModifySASCode did not replace the paths when I applied the map.

I verified that the issue was not due to incorrect syntax or file format by checking the mapping.csv for accuracy.

I also confirmed that the tool seems to handle file paths in PROC EXPORT but does not seem to capture or process ODS PDF paths.

Questions:

  • Is the ModifySASCode application designed to support ODS PDF path modifications?
  • If not, are there any known workarounds or methods to handle ODS PDF path updates using SAS tools or scripting?
  • Can someone confirm if this behavior is expected, or if there are any settings or configurations that I may have missed?

I’d appreciate any insight or advice from those who have used this tool, or any suggestions on how I can work around this limitation

1 REPLY 1
Kurt_Bremser
Super User

You should bring this to the attention of SAS Technical Support.

 

I moved your post to the Administration community; "All Things Community" is for questions regarding the working of these SAS communities here.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 147 views
  • 0 likes
  • 2 in conversation