53%mp_assertscope(SNAPSHOT)
54%mp_getmaxvarlengths(work.class,outds=work.myds)
55%mp_assertscope(COMPARE,desc=checking scope leakage on mp_getmaxvarlengths)
60%mp_assertdsobs(work.myds,
66 if name=
'Name' and maxlen ne 7 then output;
67 if name=
'Sex' and maxlen ne 1 then output;
68 if name=
'Age' and maxlen ne 3 then output;
69 if name=
'Height' and maxlen ne 8 then output;
70 if name=
'Weight' and maxlen ne 3 then output;
77%mp_assertdsobs(work.errs,
78 desc=Err table has 0 records,
93%mp_getmaxvarlengths(work.test2,outds=work.myds2)
96 desc=No errs in second test (with nulls)
98%mp_assertdsobs(work.myds2,
104 if name=
'a' and maxlen ne 3 then output;
105 if name=
'b' and maxlen ne 5 then output;
106 if name=
'c' and maxlen ne 8 then output;
107 if name=
'd' and maxlen ne 3 then output;
108 if name=
'e' and maxlen ne 0 then output;
115%mp_assertdsobs(work.errs2,
116 desc=Err table has 0 records,