Posted By

sarathannapareddy on 11/01/09


syntax tips flag sas Assigning

Versions (?)

SAS Tips: Few Lines of code

 / Published in: SAS


*Creating a flag variable when a test variable meets certain criteria is very common for SAS programmer….

Many SAS programmers use the below code to assign a flag of 1 or 0 depending on of the test variable meets criteria or not.;


Report this snippet  

You need to login to post a comment.