Community talk about communities.sas.com. Meta!

File Attachments to Posts

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 105
Accepted Solution

File Attachments to Posts

 

 

When I try to attach a text file the path appears but the file is not attached. See below.

 

Can someone tell me what types of files can be attached to a post?

 

Is there a post that details how to handle attachments?


Accepted Solutions
Solution
‎07-05-2017 06:59 AM
Super User
Super User
Posts: 7,942

Re: File Attachments to Posts

Posted in reply to jacksonan123

I caan see the file you attached?  You can attach most file types to posts, however that being said as this is a Q&A forum, it would be advisable to use simple test data datasteps posted into code windows in the post (its the {i} above the post area), post code in code window as well.  Avoid the use of attached files as a few of them (Office docs straight off) are either dangerous to download or not directly usable by everyone.

View solution in original post


All Replies
Solution
‎07-05-2017 06:59 AM
Super User
Super User
Posts: 7,942

Re: File Attachments to Posts

Posted in reply to jacksonan123

I caan see the file you attached?  You can attach most file types to posts, however that being said as this is a Q&A forum, it would be advisable to use simple test data datasteps posted into code windows in the post (its the {i} above the post area), post code in code window as well.  Avoid the use of attached files as a few of them (Office docs straight off) are either dangerous to download or not directly usable by everyone.

Frequent Contributor
Posts: 105

Re: File Attachments to Posts

Thanks very much for your reply  but you state avoid the use of attached files, but what is the alternative when you need the data to run the posted code?

Super User
Super User
Posts: 7,942

Re: File Attachments to Posts

Posted in reply to jacksonan123

You post example test data in a datastep which describes the problem:

 

data have;
  input a b c $;
datalines;
1 2 a
;
run;

You can also use this post to get your data - however its not good to post lots of data or sensitive etc. data:

https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat...

 

Frequent Contributor
Posts: 105

Re: File Attachments to Posts

The information in the post will be useful for data and I will implement it
in the future but in my case I have a large text file so I think that it
would have to be loaded as an attachment.

##- Please type your reply above this line. Simple formatting, no
attachments. -##
Frequent Contributor
Posts: 105

Re: File Attachments to Posts

Will do that for future posts.

 

Thanks

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 561 views
  • 2 likes
  • 2 in conversation