Sas Procedures | proc setinit | proc options | proc delete | Base sas | #learnsas #sas
Sas Procedures | proc setinit | proc options | proc delete | Base sas | #learnsas #sas
#learn sas #sas tutorial for beginners #data analysis with sas #data analytics
Welcome to my channel @codequeenofficial.
- "I'm enthusiastic about making complex concepts simple"
- "I believe in learning by doing, so expect hands-on tutorials"
- "Data analyst with a strong passion for SAS programming"
- "Helping beginners learn SAS programming"
- "Sharing advanced techniques and best practices"
this is your go-to destination for all things SAS!
In this channel, I'll explore the world of Statistical Analysis System (SAS) through tutorials, examples, and real-world applications and projects. Whether you're a beginner or an experienced SAS user, we'll cover topics such as:
- SAS programming basics and advanced techniques
- Data manipulation and visualization
- Statistical analysis and modeling
- SAS certification preparation
/*procedures*/
/*1.proc setinit*/
proc setinit;
run;
/*2.proc options*/
proc options;
run;
proc options option=ps;
run;
proc options option=yearcutoff;
run;
/*3.proc delete*/
data ab;
input x y;
cards;
10 20
30 40
;
run;
proc print data=ab;
run;
data ac;
input x y;
cards;
10 20
30 40
;
run;
proc print data=ac;
run;
data ap;
input x y;
cards;
10 20
30 40
;
run;
proc print data=ap;
run;
/*to delete one datasets*/
proc delete data= ab;
run;
/*to delete two datasets*/
proc delete data=ap ac;
run;
/*to delete all datasets*/
proc delete data=_all_;
run;
proc delete data=work._all_;
run;
data class1 class2 class3 class4 class5;
set sashelp.class;
run;
proc print data =class;
run;
proc delete data= class2 class5;
run;
/*4.proc printto*/
proc printto log='C:\Users\DELL\Desktop\New\27mar\log\class.log' new;
run;
proc printto print='C:\Users\DELL\Desktop\New\27mar\lst\class.lst' new;
run;
data class;
set sashelp.class;
run;
proc print data=class;
run;
proc printto;
run;
/*to see log in log window and output in output window*/
data class;
set sashelp.class;
run;
proc print data=class;
run;
proc printto;
run;
DM 'log; file "C:\Users\DELL\Desktop\New\27mar\report.log" replace';
/*(or)*/
DM 'lst; file "C:\Users\DELL\Desktop\New\27mar\report.lst" replace';
/*task*/
proc printto log='C:\Users\DELL\Desktop\New\27mar\log\ab.log' new;
run;
data ab;
input m p c;
cards;
10 20 30
40 50 60
;
run;
proc print data=ab;
run;
proc printto;
run;
/*when we want to save our log in .lst file*/
proc printto log='C:\Users\DELL\Desktop\New\lst\ak.lst';
run;
data ak;
input x y;
cards;
10 20
30 40
;
run;
proc print data =ak;
run;
proc printto;
run;
Subscribe to our channel for regular updates, tips, and tricks to improve your SAS skills. Let's learn SAS together!😃"
Видео Sas Procedures | proc setinit | proc options | proc delete | Base sas | #learnsas #sas канала code queen official
#learn sas #sas tutorial for beginners #data analysis with sas #data analytics
Welcome to my channel @codequeenofficial.
- "I'm enthusiastic about making complex concepts simple"
- "I believe in learning by doing, so expect hands-on tutorials"
- "Data analyst with a strong passion for SAS programming"
- "Helping beginners learn SAS programming"
- "Sharing advanced techniques and best practices"
this is your go-to destination for all things SAS!
In this channel, I'll explore the world of Statistical Analysis System (SAS) through tutorials, examples, and real-world applications and projects. Whether you're a beginner or an experienced SAS user, we'll cover topics such as:
- SAS programming basics and advanced techniques
- Data manipulation and visualization
- Statistical analysis and modeling
- SAS certification preparation
/*procedures*/
/*1.proc setinit*/
proc setinit;
run;
/*2.proc options*/
proc options;
run;
proc options option=ps;
run;
proc options option=yearcutoff;
run;
/*3.proc delete*/
data ab;
input x y;
cards;
10 20
30 40
;
run;
proc print data=ab;
run;
data ac;
input x y;
cards;
10 20
30 40
;
run;
proc print data=ac;
run;
data ap;
input x y;
cards;
10 20
30 40
;
run;
proc print data=ap;
run;
/*to delete one datasets*/
proc delete data= ab;
run;
/*to delete two datasets*/
proc delete data=ap ac;
run;
/*to delete all datasets*/
proc delete data=_all_;
run;
proc delete data=work._all_;
run;
data class1 class2 class3 class4 class5;
set sashelp.class;
run;
proc print data =class;
run;
proc delete data= class2 class5;
run;
/*4.proc printto*/
proc printto log='C:\Users\DELL\Desktop\New\27mar\log\class.log' new;
run;
proc printto print='C:\Users\DELL\Desktop\New\27mar\lst\class.lst' new;
run;
data class;
set sashelp.class;
run;
proc print data=class;
run;
proc printto;
run;
/*to see log in log window and output in output window*/
data class;
set sashelp.class;
run;
proc print data=class;
run;
proc printto;
run;
DM 'log; file "C:\Users\DELL\Desktop\New\27mar\report.log" replace';
/*(or)*/
DM 'lst; file "C:\Users\DELL\Desktop\New\27mar\report.lst" replace';
/*task*/
proc printto log='C:\Users\DELL\Desktop\New\27mar\log\ab.log' new;
run;
data ab;
input m p c;
cards;
10 20 30
40 50 60
;
run;
proc print data=ab;
run;
proc printto;
run;
/*when we want to save our log in .lst file*/
proc printto log='C:\Users\DELL\Desktop\New\lst\ak.lst';
run;
data ak;
input x y;
cards;
10 20
30 40
;
run;
proc print data =ak;
run;
proc printto;
run;
Subscribe to our channel for regular updates, tips, and tricks to improve your SAS skills. Let's learn SAS together!😃"
Видео Sas Procedures | proc setinit | proc options | proc delete | Base sas | #learnsas #sas канала code queen official
Комментарии отсутствуют
Информация о видео
19 марта 2025 г. 7:31:49
00:18:52
Другие видео канала