- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 04-12-2010 01:17 PM
(2379 views)
I was wondering if anyone would be able to help me figure out how exactly to assign a label to a SAS data set I'm creating. If more/specific information is needed, I'll re-post at once, and thanks in advance for any/all help.
d
d
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Look at the SAS DATA statement/option LABEL="".
Scott Barry
SBBWorks, Inc.
Suggested Google advanced search argument, this topic/post:
assign sas dataset label site:sas.com
Scott Barry
SBBWorks, Inc.
Suggested Google advanced search argument, this topic/post:
assign sas dataset label site:sas.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Scott,
Thanks for the reply on that. I'd noted the LABEL="" statement, yet I'm honestly unsure where to put it in my program. If this helps, here's a basic look at my program:
data LibraryX.TABLEX;
infile test.txt;
format FIELD1 $20; format FIELD2 $30;
informat FIELD1 $20; informat FIELD2 $30;
input FIELD1 $
FIELD2 $;
output; end; run;
Would it be possible to look at that and tell me where (and how) that would go if I wanted to give my table (TABLEX) a label of "Data Table X"?
Again, thanks in advance, and I appreciate your time.
d
Thanks for the reply on that. I'd noted the LABEL="" statement, yet I'm honestly unsure where to put it in my program. If this helps, here's a basic look at my program:
data LibraryX.TABLEX;
infile test.txt;
format FIELD1 $20; format FIELD2 $30;
informat FIELD1 $20; informat FIELD2 $30;
input FIELD1 $
FIELD2 $;
output; end; run;
Would it be possible to look at that and tell me where (and how) that would go if I wanted to give my table (TABLEX) a label of "Data Table X"?
Again, thanks in advance, and I appreciate your time.
d
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In this context, LABEL is a data set option. The general syntax is:
DATA X.Y (LABEL='label');
In this particular case, you want:
data LibraryX.TABLEX (LABEL='whatever');
DATA X.Y (LABEL='label');
In this particular case, you want:
data LibraryX.TABLEX (LABEL='whatever');
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Bob and Scott,
Thanks again for the help, and this worked perfectly. I really appreciate your time IMMENSELY!!!
Regards,
d
Thanks again for the help, and this worked perfectly. I really appreciate your time IMMENSELY!!!
Regards,
d