- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 10-19-2009 04:04 PM
(29235 views)
Hello all,
Does anyone know what "=:" do in the following code?
data test_grid (keep = test_cell phone copy letter_type pcode);
set test_grid;
where mailing_cell_code =:'MO';
Thanks for any input!
Does anyone know what "=:" do in the following code?
data test_grid (keep = test_cell phone copy letter_type pcode);
set test_grid;
where mailing_cell_code =:'MO';
Thanks for any input!
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It finds matches any text string that begins with the letters in quotes to the right of =:
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Paige.
So in a way it works like INDEX? --- looking for certain text in a field?
So in a way it works like INDEX? --- looking for certain text in a field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The INDEX function scans the entire variable. The use of =: is similar to using SUBSTR(,1,) = '
Scott Barry
SBBWorks, Inc.
Scott Barry
SBBWorks, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Scott!!