I like using Enterprise Guide to spread out my code, so I can see how the data moves. I can easily see the order in which code must be run. If I change something, I can easily see which programs must be re-run. When I create a new piece of code, the name give to it is: Program, Program1, Program2, Program3 etc. Is there a standard way of describing what SAS programs do, so that I can come up with a descriptive name to name the programs? This would make it easy to get a high level understanding of what someone else's code does without opening each program. For example: Code that merges two datasets, with proc sql or datastep, could be labeled: MERGE Code that transposes could be labeled: TRANSPOSE Code that appends tables could be labeled: APPEND How would I label this code? data tag_wo_account tag_w_account; set tagdata; if cust_acct_nbr>0 then output tag_w_account; if cust_acct_nbr<=0 then output tag_wo_account; run; Or this code (which does the same thing as above): proc sql; create table tag_w_amount as select * from tagdata where cust_acct_nbr>0; create table tag_wo_account as select * from tagdata where cust_acct_nbr<=0; quit; Maybe I should label it SELECT, because it selects rows from the tables? Just wanted to see what other people's thoughts are. Thanks! Adam
... View more