Advertisement
epiphytools

sas_manipulating dataset

May 13th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. IF / THEN » Se for nome vai com aspas, se for numero vai sem aspas;
  2.  
  3. DATA A;
  4. LENGTH LOCAL ESPECIE $12.;
  5. INPUT LOCAL $ ESPECIE $ VOLUME IDADE;
  6. IF LOCAL =‘RCLARO’ THEN DELETE;
  7. DATALINES;
  8. RCLARO E.GRANDIS 123 5
  9. RCLARO E.SALIGNA 211 8
  10. PIRACICABA P.TAEDA 201 15
  11. PIRACICABA P.ELLIOTTII 98 8
  12. BAURÚ E.GRANDIS 321 7
  13. E UROPHYLLA 303
  14. LENÇOIS E.7
  15. ;;;
  16. PROC PRINT DATA=A;
  17. RUN;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement