I have a List of Part Numbers that is in the SAS data library. I have a list in an odbc database and I am trying to match the two up. My problem is that I do not know the format for expressing my data library file in SQL. Here is my code.
PROC SQL;
CONNECT TO ORACLE AS DSDCON (USER=gsv0367 ORAPW=gsv0367 PATH=dss);
CREATE TABLE WORK.DATA AS
SELECT *
FROM CONNECTION TO DSDCON
(
SELECT
BB.NIIN,
BB.Profit_Center
FROM V_PORTAL_ZDOR_ITM BB
Where
BB.NIIN = NIINList.NIIN
);
quit;
RUN;
NIINList is imported into the data library. Any help would be appreciated. Thanks
PROC SQL;
CONNECT TO ORACLE AS DSDCON (USER=gsv0367 ORAPW=gsv0367 PATH=dss);
CREATE TABLE WORK.DATA AS
SELECT *
FROM CONNECTION TO DSDCON
(
SELECT
BB.NIIN,
BB.Profit_Center
FROM V_PORTAL_ZDOR_ITM BB
Where
BB.NIIN = NIINList.NIIN
);
quit;
RUN;
NIINList is imported into the data library. Any help would be appreciated. Thanks