Yesterday in lab we tracked down a couple of confusing "bugs" and figured out that they were attributable to writing the command:
log using "your log.scml" instead of
log using "your log.smcl" in your do file
The latter is correct! Be careful, easy mistake to make, and it won't work if you do it the wrong way...