Skip to Main Content
Base SAS 9.4 Procedures Guide, Third Edition
book

Base SAS 9.4 Procedures Guide, Third Edition

by SAS Institute
August 2014
Intermediate to advanced content levelIntermediate to advanced
2218 pages
209h 16m
English
SAS Institute
Content preview from Base SAS 9.4 Procedures Guide, Third Edition
enddata;
run cancel;
quit;
Log 19.2 SAS Log Showing the Canceled PROC DS2 Step
17 proc ds2;
NOTE: Writing HTML Body file: sashtml1.htm
18 data xy_data;
19 dcl double x y;
20 method init();
21 do x = 1 to 5;
22 z = 2*x;
23 end;
24 end;
25 enddata;
26 run cancel;
NOTE: DS2 query cancelled per user request.
27 quit;
NOTE: PROCEDURE DS2 used (Total process time):
real time 14.33 seconds
cpu time 0.71 seconds
Example 4: Creating Tables Based on a Condition
Features: PROC DS2 statement
QUIT statement
Other features: DS2 language statements
Details
This example illustrates how to create tables based on a condition. Programs 1 and 2
create two tables, Dept1_Items and Dept2_Items, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Base SAS 9.4 Procedures Guide, Second Edition

Base SAS 9.4 Procedures Guide, Second Edition

SAS Documentation
Oracle® Database 10g Insider Solutions

Oracle® Database 10g Insider Solutions

Arun Kumar R., John Kanagaraj, Richard Stroupe

Publisher Resources

ISBN: 9781629593043