PDF-CREATING MACRO VARIABLES VIA PROC SQLinput ssn @@;proc sql noprint;se
Author : kittie-lecroy | Published Date : 2015-12-01
proc sql noprintselect ssn format9 into ssnok123456789 and ssn ne 234567890 and ssn neinput 1 ssn into ssnok separated by and ssn ne 123456789 and ssn ne 234567890
Presentation Embed Code
Download Presentation
Download Presentation The PPT/PDF document "CREATING MACRO VARIABLES VIA PROC SQLinp..." is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
CREATING MACRO VARIABLES VIA PROC SQLinput ssn @@;proc sql noprint;se: Transcript
proc sql noprintselect ssn format9 into ssnok123456789 and ssn ne 234567890 and ssn neinput 1 ssn into ssnok separated by and ssn ne 123456789 and ssn ne 234567890 and ssnEXAMPLE 2u. 1. STAT . 541. ©. Spring 2012 Imelda Go, John Grego, Jennifer . Lasecki. and the University of South Carolina. 2. Creating a Macro Variable During DATA Step Execution. . Important Reminder: %LET statements are . HRP223 – . 2013. October 30, 2013 . Copyright © . 1999-2013 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. Proc transpose data=ds out=datedds prefix=DT; By memname; Var name; Run; The resulting DATEDDS dataset looks like this: Obs MEMNAME DT1 DT2 DT3 DT4 1 AEQ STRTDT STOPDT 2 CONMED STRTDT S HRP223 – 2011. November 28, 2011 . Copyright © . 1999-2011 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. Create Table AE as Select Demog.SubID, Demog.Sex, Demog.Age, AE.* From Analysis.Demog as Demog, Analysis.AE as AE Where Demog.SubID = AE.SubID; QUIT; SQL begins the proces evolutionary. trends. macro-. evolutionaire. trends . zijn. lange . termijn. -. patronen. in de . evolutie. van . fenotypen. Williston’s. . law. ‘parts in an . organism. tend . toward. . reduction. HRP223 – . 2013. October 30, 2013 . Copyright © . 1999-2013 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. HRP223 – 2013. November 20, 2013 . Copyright © . 1999-2013 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. Computing for Research I. Spring 2011. January 19, 2011 . What are Macros and why do we need /use them?. A macro is a way to automate a task that you perform repeatedly or on a regular basis.. It is a series of commands and actions that can be stored and run whenever you need to perform the task.. HRP223 – 2013. December 2, 2013 . Copyright © . 1999-2013 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. PROC . CAT. ALOG, the Wish Book SAS® . Procedure. Louise S. . Hadden. Abt. Associates Inc.. Abstract. Introduction. What are . SAS. Catalogs?. SAS® data sets have PROC DATASETS, and SAS catalogs have PROC CATALOG. Find out what the little known PROC CATALOG has in store for you! . December 2, 2013 . Copyright © . 1999-2013 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. November 20, 2013 . Copyright © . 1999-2013 . Leland Stanford Junior University. All rights reserved.. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law.. c. hnica. l. Training Specialist, Charu Shankar teaches by engaging with logic, visuals and analogies to spark critical thinking. She interviews clients to recommend the right SAS training. She is a frequent blogger for the .
Download Document
Here is the link to download the presentation.
"CREATING MACRO VARIABLES VIA PROC SQLinput ssn @@;proc sql noprint;se"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.
Related Documents