In SAS, what are good techniques/options for catching syntax errors?

后端 未结 3 1294

In the enhanced editor, the coloring might give you a hint. However, on the mainframe I don\'t believe there is anything, in the editor, that will help you.

I use

3条回答
  •  自闭症患者
    2021-02-04 11:44

    I use the cancel option on the run statement. It will check the syntax of the data step then terminate it without actually executing it. It's the data step analog to the noexec option in proc sql.

    data something;
    
    run cancel;
    

    Lots more details in this SUGI pdf

提交回复
热议问题