Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Création de l'ID pour le merge pour Meteo */
- DATA Meteo;
- SET Meteo;
- FORMAT ID $20.;
- ID= STRIP(SUBSTRN(Date_Heure,1,10)) || ' ' || STRIP(quart) ; * Je prend les 10 premier char de la date puis j'ajoute le quart ;
- RUN;
- /* Création de l'ID pour le merge pour Crimdata */
- DATA CRIMEDATA;
- SET CRIMEDATA;
- INFORMAT DATE2 YYMMDD10.;
- DATE2=DATEPART(DATE); * Variable temporaire pour avoir la date dans le bon format ;
- ID= STRIP(PUT(DATE2,YYMMDD10.)) || ' ' || STRIP(quart);
- DROP DATE2;
- RUN;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement