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
SAS Super FREQ
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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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