pcpNPI is a numeric 20 variable but i'm getting an error for some reason:
454 proc sql;
455 create table ppp
456 as select
457 a.pid,
458 a.input(pcpNPI, 20.) format=20. as pcpNPI2,
_ __
79 22
76
ERROR 79-322: Expecting a FROM.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, CONNECTION, DICTIONARY.
ERROR 76-322: Syntax error, statement will be ignored.
459 a.pname,
460 a.group,
461 b.nflg,
462 b.dflg,
463 b.cond,
464 b.days
465 from ftable as A
466 inner join numerator1 as B
467 on a.pid=b.pid
468 where pcpNPI2 in ('444', '444','444','444','444','444',
469 '44','44','44','444','444');
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
470 run;
... View more