SAS Institute. The Power to Know
Filter Results By:
Type Priority Fixed Release

Applied Filters: (Reset All Filters)

Type: Sample ( Reset Filter)

 
List:    – 10  of  14  > >|   Results per page:
Date Title Type
9/6/06 24753 - Conditionally execute code containing a single quote
Illustrate how to use double quotes in CALL EXECUTE to prevent syntax errors originating from an unbalanced single quote. http://support.sas.com/kb/24/753.html, 18KB
Sample

1/11/06 25431 - Selecting a sample of K observations from a data set
This example shows how to select a sample of K observations from a data set. http://support.sas.com/kb/25/431.html, 27KB
Sample

1/5/06 24650 - Generate all permutations of several variables
Use the FACT function to determine the number of permutations possible, then generate all permutations of said variables with CALL ALLPERM. http://support.sas.com/kb/24/650.html, 18KB
Sample

12/8/05 25025 - Search a text string for a 'pattern' multiple times in succession
Use CALL PRXNEXT to search a string for a specified pattern and for multiple occurrences. http://support.sas.com/kb/25/025.html, 18KB
Sample

12/8/05 24798 - Using CALL VNEXT to create a macro variable containing a list of variables in a DATA set
Use CALL VNEXT and CALL SYMPUT to create a macro variable that resolves to a space-delimited list of the data set's variables. http://support.sas.com/kb/24/798.html, 18KB
Sample

12/8/05 24797 - Assign a variable's name as the value of a new variable
Use CALL VNAME to assign the name of the variable specified in the first argument as the value of the variable named in the second argument. http://support.sas.com/kb/24/797.html, 18KB
Sample

12/8/05 24770 - Assign DATA step information to a macro variable using CALL SYMPUTX
Calculate the total weight of all students in SASHELP.CLASS. Create a macro variable using each student name to contain the student's weight and a macro variable called S_TOT to contain the total combined weight of the ... http://support.sas.com/kb/24/770.html, 21KB
Sample

12/8/05 24769 - Assign DATA step information to a macro variable using CALL SYMPUT
Count the number of observations in a SAS data set and put that number into a macro variable. http://support.sas.com/kb/24/769.html, 17KB
Sample

12/8/05 24730 - Use CALL EXECUTE to conditionally run sections of code
Conditionally run procedures stored in macros based on the values of a variable. http://support.sas.com/kb/24/730.html, 18KB
Sample

12/8/05 24720 - Rename variables using the label values as the new variable names
Generate necessary code to rename variables using CALL EXECUTE. http://support.sas.com/kb/24/720.html, 18KB
Sample

List:    – 10  of  14  > >|   Results per page: