Reputation: 59
I need help in a sas program. Pgm:
libname in xml 'xmlpath';
libname dat 'path';
data dat.subject;
set in.subject;
run;
my xml has many subject elements inside table tag. everything is working. It says dat.subject has 1 observation and 2 variables. But when I am trying to print dataset dat.subject, I am not able to. I used list all; show datasets; show contents; everytime I got Error 180-322: Statement not valid or out of order.
Please note: I am learning sas.
Upvotes: 0
Views: 2967
Reputation: 12691
Have you tried:
ods output; /* switch on ODS destination */
proc print data=dat.subject; /* basic syntax for proc print */
run;
This should work, if dat.subject was created successfully as you say?
Upvotes: 0