PING  0.9
Statistical data handling and processing in production environment
Test

Test dataset #0.

%_dstest0;
%_dstest0(lib=, _ds_=, verb=no, force=no);

Contents

_dstest0 is an empty table.

Arguments

Returns

_ds_ : (option) the name (library+table) of the dataset _dstest0.

Note

In practice, it runs:

DATA _dstest0; STOP; RUN;

Example

To create dataset #0 in the WORKing directory and print it, simply launch:

%_dstest0;
%ds_print(_dstest0);

See also

%_dstestlib.

Test dataset #1.

%_dstest1;
%_dstest1(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest1:

a
.

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest1.

Note

In practice, it runs:

DATA _dstest1;
    a=.;
run;

Example

To create dataset #1 in the WORKing directory and print it, simply launch:

%_dstest1;
%ds_print(_dstest1);

See also

%_dstestlib.

Test dataset #2.

%_dstest2;
%_dstest2(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest2:

a
1

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest2.

Note

In practice, it runs:

DATA _dstest2;
    a=1;
run;

Example

To create dataset #2 in the WORKing directory and print it, simply launch:

%_dstest2;
%ds_print(_dstest2);

See also

%_dstestlib.

Test dataset #5.

Contents

The following table is stored in _dstest5:

f e d c b a
. 1 2 3 . 5

Usage

Generate dataset #5 for testing.

%_dstest5(lib=, _ds_=, verb=no, force=no);

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest5.

Example

To create dataset #5 in the WORKing directory and print it, simply launch:

%_dstest5;
%ds_print(_dstest5);

See also

%_dstestlib.

Test dataset #6.

%_dstest6;
%_dstest6(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest6:

a b c d e f g h
. 1 2 3 . 5 6 .

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest6 storing the following table:

Example

To create dataset #6 in the WORKing directory and print it, simply launch:

%_dstest6;
%ds_print(_dstest6);

See also

%_dstestlib.

Test dataset #20.

%_dstest20;
%_dstest20(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest20:

breakdown variable start end fmt1_dummy fmt2_dummy fmt3_dummy fmt4_dummy
label1 DUMMY 1 5 1 0 1 0
label2 DUMMY 1 3 1 1 0 0
label2 DUMMY 5 5 1 1 0 0
label2 DUMMY 8 10 1 1 0 0
label2 DUMMY 12 12 1 1 0 0
label3 DUMMY 1 10 0 1 1 0
label3 DUMMY 20 HIGH 0 1 1 0
label4 DUMMY 10 20 0 0 0 1
label5 DUMMY 10 12 0 1 1 0
label5 DUMMY 15 17 0 1 1 0
label5 DUMMY 19 20 0 1 1 0
label5 DUMMY 30 HIGH 0 1 1 0

Arguments

Returns

_ds_ : (option) the full name (library+table).

Example

To create dataset #20 in the WORKing directory and print it, simply launch:

%_dstest20;
%ds_print(_dstest20);

See also

%_dstestlib.

Test dataset #25.

%_dstest25;
%_dstest25(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest25:

geo value time unrel unit
BE 1 2014 1 EUR
BE 2 2013 2 EUR
BE 3 2012 0 EUR
AT 1 2013 1 EUR
AT 2 2012 0 EUR
AT 3 2011 2 EUR
AT 4 2010 0 EUR
BG 1 2013 0 EUR
BG 2 2012 2 EUR
LU 1 2014 0 EUR
LU 2 2013 0 EUR
LU 3 2012 1 EUR
FR 1 2014 2 EUR
FR 2 2013 0 EUR
FR 3 2012 1 EUR
IT 1 2013 2 EUR
IT 2 2012 1 EUR

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest25.

Example

To create dataset #25 in the WORKing directory and print it, simply launch:

%_dstest25;
%ds_print(_dstest25);

See also

%_dstestlib.

Test dataset #26.

%_dstest26;
%_dstest26(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest26:

geo time
BE 2014
AT 2013
BG 2012
LU 2014
IT 2013

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest26.

Example

To create dataset #26 in the WORKing directory and print it, simply launch:

%_dstest26;
%ds_print(_dstest26);

See also

%_dstestlib.

Test dataset #27.

%_dstest27;
%_dstest27(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest27:

geo time
BE 2014
AT 2013
BG 2012
LU 2014
FR 2013
IT 2013

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest27.

Example

To create dataset #27 in the WORKing directory and print it, simply launch:

%_dstest27;
%ds_print(_dstest27);

See also

%_dstestlib.

Test dataset #28.

%_dstest28;
%_dstest28(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest28:

geo value
AT 1
'' .
BG 2
'' 3
FR .
IT 4

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest28.

Example

To create dataset #28 in the WORKing directory and print it, simply launch:

%_dstest28;
%ds_print(_dstest28);

See also

%_dstestlib.

Test dataset #29.

%_dstest29;
%_dstest29(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest29:

geo
BE
AT
BG
''
FR
IT

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest29.

Example

To create dataset #29 in the WORKing directory and print it, simply launch:

%_dstest29;
%ds_print(_dstest29);

See also

%_dstestlib.

Test dataset #30.

%_dstest30;
%_dstest30(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest30:

geo value
BE 0
AT 0.1
BG 0.2
'' 0.3
FR 0.4
IT 0.5

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest30.

Examples

To create dataset #30 in the WORKing directory and print it, simply launch:

%_dstest30;
%ds_print(_dstest30);

See also

%_dstestlib.

Test dataset #31.

%_dstest31;
%_dstest31(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest31:

geo value unit
BE 0 EUR
AT 0.1 EUR
BG 0.2 NAC
LU 0.3 EUR
FR 0.4 NAC
IT 0.5 EUR

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest31.

Example

To create dataset #31 in the WORKing directory and print it, simply launch:

%_dstest31;
%ds_print(_dstest31);

See also

%_dstestlib.

Test dataset #32.

%_dstest32;
%_dstest32(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest32:

geo value
BE 0
AT 0.1
BG 0.2
LU 0.3
FR 0.4
IT 0.5

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest32.

Example

To create dataset #32 in the WORKing directory and print it, simply launch:

%_dstest32;
%ds_print(_dstest32);

See also

%_dstestlib.

Test dataset #33.

%_dstest33;
%_dstest33(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest33:

geo value
BE 1
AT .
BG 2
LU 3
FR .
IT 4

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest33.

Example

To create dataset #33 in the WORKing directory and print it, simply launch:

%_dstest33;
%ds_print(_dstest33);

See also

%_dstestlib.

Test dataset #34.

%_dstest34;
%_dstest34(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest34:

geo year value
EU2720061
EU2520042
EA1320013
EU2720074
EU1520045
EA1220076
EA1220027
EU1520158
NMS1220159

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest34.

Example

To create dataset #34 in the WORKing directory and print it, simply launch:

%_dstest34;
%ds_print(_dstest34);

See also

%_dstestlib.

Test dataset #35.

%_dstest35;
%_dstest35(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest35:

geo time EQ_INC20 RB050a
BE 2009 10 10
BE 2010 50 10
BE 2011 60 10
BE 2012 20 20
BE 2013 10 20
BE 2014 30 20
BE 2015 40 20
IT 2009 10 10
IT 2010 50 10
IT 2011 50 10
IT 2012 30 20
IT 2013 30 20
IT 2014 20 20
IT 2015 50 20

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest35.

Example

To create dataset #35 in the WORKing directory and print it, simply launch:

%_dstest35;
%ds_print(_dstest35);

See also

%_dstestlib.

Test dataset #36.

%_dstest36;
%_dstest36(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest36:

geo time value
EU27 2006 1
EU25 2004 2
EA13 2001 3
EU27 2007 4
EU15 2004 5
EA12 2007 6
EA12 2002 7
GR 2005 8
EL 2003 9
GR02 2003 10
EU15 2015 11
NMS122015 12

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest36.

Example

To create dataset #36 in the WORKing directory and print it, simply launch:

%_dstest36;
%ds_print(_dstest36);

See also

%_dstestlib.

Test dataset #1000.

%_dstest1000;
%_dstest1000(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest1000:

i
1
2
3
4
...
999
1000

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest1000.

Example

To create dataset #1000 in the WORKing directory and print it, simply launch:

%_dstest1000;
%ds_print(_dstest1000);

See also

%_dstestlib.

Test dataset #1001.

%_dstest1001;
%_dstest1001(lib=, _ds_=, verb=no, force=no);

Contents

The following table is stored in _dstest1001:

i strata
1 1
2 1
3 1
4 1
... ...
100 1
101 2
102 2
... ...
200 2
201 3
202 3
... ...
900 9
901 10
902 10
... ...
999 10
100010

Arguments

Returns

_ds_ : (option) the full name (library+table) of the dataset _dstest1000.

Example

To create dataset #1001 in the WORKing directory and print it, simply launch:

%_dstest1001;
%ds_print(_dstest1001);

See also

%_dstestlib.