We have a string like this "kannafromsalembut" ,from this i want to get only "fromsal" (but one condition with out using substring function)here we can not use scan because in the given string there is no delimeter? so give ans without out using substring ?
5 8384What happens in the following code, if u type 8 instead of *? proc sql noprint; create table abc as select 8 from lib.abc; quit;
3 6429You need to create an In List that it is to be later used in a Where Clause that includes all the Regions that begin with the letter A from the sashelp.shoes table. Using PROC SQL with an into clause create the following string from the sashelp.shoes table using the variable region “AFRICA”,”ASIA”,…..
3 6649You need to perform an analysis on a massive dataset by groups, but are unable to sort the data due to memory constraint. How would you accomplish the task?
2 5542The below code we are using for creating more than one macro variables in proc sql using into clause. How we can use same code to create macro variables vara, varb, varc instead of var1, var2, var3.? proc sql noprint; select count(distinct(patient)) into :var1 - :var3 from dataset1 group by trtreg1c ; quit;
1 5710How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
2929
What is slibref?
what are sas/access and sas/connect? : Sas programming
What is the difference between where and if statement?
Explain the difference between informat and format with an example.
Give some examples where proc report’s defaults are same as proc print’s defaults?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
Differentiate between ceil and floor functions.
if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation
How can you limit the variables written to output dataset in data step?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
Mention what is PROC in SAS?
how could you generate test data with no input data? : Sas programming
What is the order of application for output data set options, input data set options and SAS statements?
What is a method to debug and test your SAS program?
How will you use the WHO Drug Dictionary for Reporting Clinical Trials?