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 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.