Members

Blog Posts

Hack 4.13 Reversing Character Strings with the REVERSE Function

Posted by Michael A. Raithel on February 20, 2017 at 9:18am 0 Comments

SAS Programming Professionals,

Check out this hack: …

Continue

Favourite Tip from SAS Community

Posted by Estela Lutero Tavares on February 15, 2017 at 6:37pm 0 Comments

As I do a lot of transpose, here is a great tip that I found at SAS community:…

Continue
 

Latest Activity

Bruce Densmore replied to Martha Casanova's discussion February 15 - Programming Problems in the group Friends of SAS Programming Problems
"My results are attached below for reference. Only the third statement brings “TRUE LOVE”. Which begs the question ... “Why?”. All the elements are character so it is just alphabetic order (collating sequence).…"
Wednesday
Scott Wile replied to Martha Casanova's discussion February 15 - Programming Problems in the group Friends of SAS Programming Problems
"data _null_;IF ('TED' < 'ALICE' < 'BOB' < 'CAROL')THEN PUT 'TRUE LOVE';IF ('TED' < ('ALICE' < 'BOB') < 'CAROL')THEN PUT 'TRUE LOVE';IF ('TED' < 'ALICE') < ('BOB' < 'CAROL')THEN PUT 'TRUE LOVE';run; Only the expression…"
Wednesday
Estela Lutero Tavares posted a blog post

Favortie tip

One of my favorite tips came from y supervisor. Always write your comments on every step of the program. As we are always using the same variables, it saves time to keep the codes in a library so programing is more fun, as the repetitive coding can be than using copy and paste. I guess that is most of us do...a lot of copying and pasting. So keep your library simple and organized.See More
Wednesday
Matt Malczewski posted a status
"Saskatoon leads off the Western user group sched on Tues, March 14th. Agenda details: http://www.sas.com/en_ca/events/2017/q1/saskmar17.html"
Wednesday
John Lam replied to Martha Casanova's discussion February 15 - Programming Problems in the group Friends of SAS Programming Problems
"The third one will show 'TRUE LOVE' and here is why: IF ('TED' < 'ALICE' < 'BOB' < 'CAROL') --> false as 'TED' not < 'ALICE' IF ('TED' <…"
Wednesday
Aroop Ghosh replied to Martha Casanova's discussion February 15 - Programming Problems in the group Friends of SAS Programming Problems
"None of them will produce True Love.  However, if you replace the ’ with ' or " then you will realize third time is lucky ;) as show below in the log printout:"
Wednesday
Arthur Tabachneck replied to Martha Casanova's discussion February 15 - Programming Problems in the group Friends of SAS Programming Problems
"With the odd quotation marks, none of those listed will produce "TRUE LOVE". However, after manually fixing them, the third one    IF ('TED' < 'ALICE') < ('BOB' < 'CAROL') THEN…"
Wednesday
Horst Wolter replied to Martha Casanova's discussion February 15 - Programming Problems in the group Friends of SAS Programming Problems
"The following will yield TRUE LOVE: IF ('TED' < 'ALICE') < ('BOB' < 'CAROL')THEN PUT 'TRUE LOVE';"
Wednesday
Martha Casanova added a discussion to the group Friends of SAS Programming Problems
Thumbnail

February 15 - Programming Problems

Please post your solutions to this week's problem here. Thank you!See More
Feb 14
Bruce Densmore replied to Martha Casanova's discussion February 8 - Programming Problems in the group Friends of SAS Programming Problems
"My results are attached below so that you can see what I got. I freely admit that I am not really confident in what I did ... but the results are in line with my “gut feelings”. Create an array of the three doors ... all set to…"
Feb 14
Aroop Ghosh liked Sheryl Bagga's blog post Fav SAS Tip!
Feb 13
Estela Lutero Tavares posted a blog post

My Fav SAS tip

I am absolutely in love with SAS that probably explain my lack of interest to other loving stuff at this moment. I would say that my favorite SAS tip just arrived this morning as I learned about this SAS CANADA COMMUNITY! Wow! you guys rock...you have amazing tips to share. Keep on giving! Spread the love! Thanks!See More
Feb 13
Matt Malczewski posted a status
"First user group mtg of 2017: TASS in Toronto on March 10th. Agenda details here: https://www.sas.com/en_ca/email/2017/q1/56268.html"
Feb 13
Profile IconSuneil Shrivastav, Ying Zhao and Binal Bhavsar joined SAS Canada Community
Feb 13
Sheryl Bagga posted a blog post

Fav SAS Tip!

I am fairly new to SAS but I find there are so many useful tips available. One simple tip that I find very useful is that you can create your own data and time format. proc format; picture MyMSdt other='%0d-%0m-%0Y %0H:%0M:%0S' (datatype=datetime);run; data test; mydatetime='25nov2009 14:44:56'dt; format newdt MyMSdt.; newdt=mydatetime; put mydatetime= newdt=;run;See More
Feb 13
Michael A. Raithel posted a blog post

Hack 4.12 Renaming Files and Directories from A DATA Step

SAS Programming Professionals,Check out this hack: http://michaelraithel.blogspot.com/2017/02/hack-412-renaming-files-and-directories.html                   ...excerpt from my book:  Did You Know That?  Essential Hacks for Clever SAS Programmershttp://tinyurl.com/zfd67rhI plan to post each and every one of the hacks in the book to social media on a…See More
Feb 13
Arthur Tabachneck replied to Martha Casanova's discussion February 8 - Programming Problems in the group Friends of SAS Programming Problems
"@Jean-François: I think the paradox is most easily understood with the scenario where the player has to switch to a door they haven't ever selected. Consider a 10-door problem. If a contestant initially picks "1" and sticks…"
Feb 12
Aroop Ghosh replied to Martha Casanova's discussion February 8 - Programming Problems in the group Friends of SAS Programming Problems
"Results below, please read the WIN row and Percent column for each strategy. Code attached."
Feb 11
Peter Timusk posted a blog post

Favorite SAS Tip

Writing code one line at a time and in general writing within style conventions. There are preferred styles for writing computer programing code. These should be studied, Also good documentation with well commented code. Both of these tips has made our work with SAS more efficient,See More
Feb 10
Dr. Davidson Omole updated their profile
Feb 10

Forum

Do Loop?

Started by Sam Davie in Featured Discussions. Last reply by Arthur Tabachneck Nov 16, 2016. 1 Reply

Hi,I have a large dataset containing information about patients of a medical clinic, which doctor they are registered with (Registering Doctor), and which they saw on that particular visit (Attending Doctor). For each patient, I'd like to calculate…Continue

New to SAS & basic certification help please !

Started by Malcolm Ponnayan in Featured Discussions Oct 17, 2016. 0 Replies

Good Morning everyone ! I am new to SAS and to this community here online. I am planning to do my basic foundation certification with SAS. Could anyone please help me with some inputs and guidance on preparation materials, books, or any other…Continue

calling INTRR function with a dynamic number of arguments

Started by Warren Mok in Featured Discussions Sep 22, 2016. 0 Replies

Dear Sir/Madam,                I want to be able to call the function INTRR with a dynamic number of arguments. My program calls INTRR this way: EIRn = INTRR(1, -Orig_Bal %c(n)); My macro c is as follows:macro c(t);      %do i = 1 %to…Continue

Hack 3.18 Moving Catalog Entries Between SAS Catalogs

Started by Michael A. Raithel in Featured Discussions Sep 19, 2016. 0 Replies

SAS Programming Professionals,Check out this hack: …Continue

 
 
 

Photos

Loading…
  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2017   Created by Steve Mahoney.   Powered by

Badges  |  Report an Issue  |  Terms of Service