-
Notifications
You must be signed in to change notification settings - Fork 90
/
test_assert_dset_exist.log
637 lines (495 loc) · 24.2 KB
/
test_assert_dset_exist.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
1 The SAS System 17:20 Sunday, August 16, 2015
NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead.
NOTE: All registry changes will be lost at the end of the session.
WARNING: Unable to copy SASUSER registry to WORK registry. Because of this, you will not see registry customizations during this
session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: Copyright (c) 2002-2008 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.2 (TS2M3 MBCS3055)
Licensed to F. HOFFMANN LA ROCHE AG, Site 50701490.
NOTE: This session is executing on the X64_VSPRO platform.
NOTE: SAS initialization used:
real time 1.84 seconds
cpu time 0.98 seconds
1 /***
2 Qualification tests for PhUSE/CSS utility macro ASSERT_DSET_EXIST
3
4 SETUP: Ensure that PhUSE/CSS utilities are in the AUTOCALL path
5
6 TEST PLAN:
7 https://github.com/phuse-org/phuse-scripts/blob/master/whitepapers/qualification/t
7 ! estplan_assert_dset_exist.docx
8
9 ***/
10
11 OPTIONS mrecall sasautos=(%sysfunc(getoption(sasautos))
11 ! "C:\CSS\phuse-scripts\whitepapers\utilities");
12
13
14 *--- SETUP ---*;
15
16 %let macroname = ASSERT_DSET_EXIST;
17
18 %put WARNING: (TEST_%upcase(¯oname)) User must ensure PhUSE/CSS utilities are
18 ! in the AUTOCALL path.;
WARNING: (TEST_ASSERT_DSET_EXIST) User must ensure PhUSE/CSS utilities are in the AUTOCALL
path.
19
20 /*** EXECUTE ONE TIME only as needed
21
22 Ensure PhUSE/CSS utilities are in the AUTOCALL path
23 NB: This line is not necessary if PhUSE/CSS utilities are in your default
23 ! AUTOCALL paths
24
25 OPTIONS mrecall sasautos=(%sysfunc(getoption(sasautos))
25 ! "C:\CSS\phuse-scripts\whitepapers\utilities");
26
27 ***/
28
29
30 *--- SAVE TEST RESULTS as XML filename ---*;
31 *--- NB: if this filename is blank, do NOT save xml test results ---*;
2 The SAS System 17:20 Sunday, August 16, 2015
32
33 %let XML_FILENAME = .\outputs_sas\testresults_%lowcase(¯oname).xml;
34
35
36 *--- Test Definitions ---*;
37 *--- Full Specs for test definitions:
37 ! https://github.com/phuse-org/phuse-scripts/blob/master/whitepapers/utilities/util_pa
37 ! ssfail.sas ---*;
38
39 proc sql;
40 create table my_test_definitions
41 ( test_mac char(32) label='Name of macro to test'
42 , test_id char(15) label="Test ID for %upcase(¯oname)"
43 , test_dsc char(80) label='Test Description'
44
45 , test_type char(5) label='Test Type (Macro var, String-<B|C|L|T>,
45 ! Data set, In data step)'
46 , Pparm_ds char(80) label='Test values for the Positional parameter
46 ! DS'
47
48 , test_expect char(50) label="EXPECTED test results for each call to
48 ! %upcase(¯oname)"
49 )
50 ;
NOTE: Table WORK.MY_TEST_DEFINITIONS created, with 0 rows and 6 columns.
51
52 insert into my_test_definitions
53 values("%lowcase(¯oname)", 'dse.1', 'Null data set list returns FAIL',
54 'S', '_NULLPARM_', '0')
55
56 values("%lowcase(¯oname)", 'dse.2.a.1', 'Existing one-level WORK dset
56 ! found',
57 'S', 'Not', '1')
58 values("%lowcase(¯oname)", 'dse.2.a.2', 'Existing two-level WORK dset
58 ! found',
59 'S', 'Work.Class_Modified', '1')
60
61 values("%lowcase(¯oname)", 'dse.2.b.1', 'Non-existent one-level WORK dset
61 ! NOT found',
62 'S', 'NotInWork', '0')
63 values("%lowcase(¯oname)", 'dse.2.b.2', 'Non-existent two-level WORK dset
63 ! NOT found',
64 'S', 'Work.Class_Mod_DNE', '0')
65
66 values("%lowcase(¯oname)", 'dse.2.c.1', 'Existing two-level Permanent dset
66 ! found',
67 'S', 'And.Or', '1')
68 values("%lowcase(¯oname)", 'dse.2.d.1', 'Non-existent Permanent dset NOT
68 ! found',
69 'S', 'Sashelp.Classics', '0')
70
71 values("%lowcase(¯oname)", 'dse.3.a', 'Multiple work and permanent data
71 ! sets found',
72 'S', 'SasHelp.Class WORK.Not And.OR', '1')
73
74 values("%lowcase(¯oname)", 'dse.3.b.1', '1st missing data sets results in
3 The SAS System 17:20 Sunday, August 16, 2015
74 ! overall FAIL',
75 'S', 'Work.If Sashelp.Class Work.NOT AND.or', '0')
76 values("%lowcase(¯oname)", 'dse.3.b.2', 'last missing data sets results in
76 ! overall FAIL',
77 'S', 'Sashelp.Class Work.NOT AND.or Work.For', '0')
78 values("%lowcase(¯oname)", 'dse.3.b.3', 'in between missing data sets
78 ! results in overall FAIL',
79 'S', 'Sashelp.Class Work.NOT SAShelp.Classics AND.or', '0')
80
81 /***
82 values("%lowcase(¯oname)", '', '',
83 'S', '', '')
84 ***/
85 ;
NOTE: 11 rows were inserted into WORK.MY_TEST_DEFINITIONS.
86 quit;
NOTE: PROCEDURE SQL used (Total process time):
real time 0.04 seconds
cpu time 0.04 seconds
87
88
89 *--- Setup test environment here (dsets, macro vars, etc) ---*;
90
91 data class_modified;
92 set sashelp.class;
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.CLASS_MODIFIED has 19 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
93 data not;
94 set sashelp.class;
95 run;
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.NOT has 19 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
96
97 libname AND '.';
NOTE: Libref AND was successfully assigned as follows:
Engine: V9
Physical Name: C:\CSS\phuse-scripts\whitepapers\qualification
98
99 data and.or;
100 set sashelp.class;
101 run;
4 The SAS System 17:20 Sunday, August 16, 2015
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set AND.OR has 19 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
102
103
104
105 *--- Execute & evaluate tests, and report & store test results ---*;
106 %util_passfail (my_test_definitions, savexml=&xml_filename, debug=N);
NOTE: No rows were selected.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: There were 11 observations read from the data set WORK.MY_TEST_DEFINITIONS.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 9 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
NOTE (BUILD_MACRO_CALLS): > dse.1 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( )
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.2.a.1 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( Not)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.2.a.2 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( Work.Class_Modified)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.2.b.1 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( NotInWork)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.2.b.2 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( Work.Class_Mod_DNE)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.2.c.1 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
5 The SAS System 17:20 Sunday, August 16, 2015
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( And.Or)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.2.d.1 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1 %assert_dset_exist( Sashelp.Classics)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.3.a , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1
%assert_dset_exist( SasHelp.Class WORK.Not And.OR)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.3.b.1 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1
%assert_dset_exist( Work.If Sashelp.Class Work.NOT AND.or)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.3.b.2 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1
%assert_dset_exist( Sashelp.Class Work.NOT AND.or Work.For)
NOTE (BUILD_MACRO_CALLS): <
NOTE (BUILD_MACRO_CALLS): > dse.3.b.3 , 1 call(s)
NOTE (BUILD_MACRO_CALLS): BUILDING MACRO CALL 1
NOTE (BUILD_MACRO_CALLS): GENERATED MACRO CALL 1
%assert_dset_exist( Sashelp.Class Work.NOT SAShelp.Classics AND.or)
NOTE (BUILD_MACRO_CALLS): <
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: There were 1 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Please specify a data set name.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
6 The SAS System 17:20 Sunday, August 16, 2015
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set NOT is accessible.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set WORK.CLASS_MODIFIED is accessible.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
7 The SAS System 17:20 Sunday, August 16, 2015
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Data set NOTINWORK is NOT accessible. Try another
data set.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Data set WORK.CLASS_MOD_DNE is NOT accessible. Try
another data set.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
NOTE: PROCEDURE SQL used (Total process time):
8 The SAS System 17:20 Sunday, August 16, 2015
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set AND.OR is accessible.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Data set SASHELP.CLASSICS is NOT accessible. Try
another data set.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
9 The SAS System 17:20 Sunday, August 16, 2015
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set SASHELP.CLASS is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set WORK.NOT is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set AND.OR is accessible.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:07,
Create Time=16Aug2015:17:20:07
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Data set WORK.IF is NOT accessible. Try another
data set.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set SASHELP.CLASS is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set WORK.NOT is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set AND.OR is accessible.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
10 The SAS System 17:20 Sunday, August 16, 2015
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:08,
Create Time=16Aug2015:17:20:07
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set SASHELP.CLASS is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set WORK.NOT is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set AND.OR is accessible.
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Data set WORK.FOR is NOT accessible. Try another
data set.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: The file PFEXCODE is:
Filename=C:\Users\ditommd1\AppData\Local\Temp\SAS Temporary Files\_TD5932\#LN00007,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=16Aug2015:17:20:08,
Create Time=16Aug2015:17:20:07
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set SASHELP.CLASS is accessible.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set WORK.NOT is accessible.
ERROR: (ASSERT_DSET_EXIST) Result is FAIL. Data set SASHELP.CLASSICS is NOT accessible. Try
another data set.
NOTE: (ASSERT_DSET_EXIST) Result is PASS. Data set AND.OR is accessible.
NOTE: 0 records were written to the file PFEXCODE.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 11 variables.
NOTE: DATA statement used (Total process time):
real time 0.04 seconds
cpu time 0.04 seconds
11 The SAS System 17:20 Sunday, August 16, 2015
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
NOTE: 16 lines were written to file PRINT.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set WORK.CSS_PASSFAIL has 11 observations and 12 variables.
NOTE: The DATA step printed page 1.
NOTE: DATA statement used (Total process time):
real time 0.12 seconds
cpu time 0.12 seconds
NOTE: Libref SAVEXML was successfully assigned as follows:
Engine: XML
Physical Name: .\outputs_sas\testresults_assert_dset_exist.xml
NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
NOTE: There were 11 observations read from the data set WORK.CSS_PASSFAIL.
NOTE: The data set SAVEXML.CSS_PASSFAIL has 11 observations and 12 variables.
NOTE: DATA statement used (Total process time):
real time 2.07 seconds
cpu time 0.73 seconds
NOTE: Libref SAVEXML has been deassigned.
107
108
109
110 *--- CLEAN UP Permanent test data set ---*;
111 proc datasets memtype=DATA library=AND nolist nodetails;
112 delete OR;
113 quit;
NOTE: Deleting AND.OR (memtype=DATA).
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
114
115 libname AND clear;
NOTE: Libref AND has been deassigned.
ERROR: Errors printed on pages 5,7,8,9,10.
NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
real time 4.91 seconds
cpu time 2.69 seconds