Log 19.2SAS 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.