BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
xxformat_com
Barite | Level 11

Hi,

 

Can you think of an example where ods path ....(write) is used ?  ods path ....(read/update) usually do what I need.

 

Regards,

1 ACCEPTED SOLUTION
6 REPLIES 6
Athenkosi
Obsidian | Level 7

The ODS PATH statement is used to manage the template stores, for reading and saving templates.

Template store can have one of three access modes: read, write and update.

 

READ: You can only read templates to a template store

UPDATE: You can read or write templates to a template, if the template store does not exist a new one is created.

WRITE: You can read or write templates to a template, a new template store is always created

 

 

xxformat_com
Barite | Level 11

I was not looking for a copy of the sas online documentation.

data_null__
Jade | Level 19

@xxformat_com wrote:

I was not looking for a copy of the sas online documentation.


Interesting comment.  Not here to make friends?

 

WRITE

provides Write access (always creating a new template store) as well as Read access.

 

 

xxformat_com
Barite | Level 11
Thank you Kurt
Cynthia_sas
Diamond | Level 26
Hi:
And to add more info to @Kurt_Bremser's response: You should NEVER attempt to define SASHELP.TMPLMST as WRITE or UPDATE in an ODS PATH statement, since that is the item store delivered with each SAS install depot. If you're lucky, you won't ruin the template store because your administrators made it read only. If you're unlucky, you can accidentally render SASHELP.TMPLMST unusable.
Cynthia

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 1750 views
  • 2 likes
  • 5 in conversation