In "modern day" DCL I get bitten by this when I forget to put an endif, or a endsubprocedure etc... My solution is to find the offending line, then create a label that it can find below it a few lines (scanning the lines between for syntax errors). Then moving that label down until DCL can't find it anymore - then I've at least narrowed it down to where it can and can't find the label - and I know there is something wrong between the two. I usually find the problem this way. My "test label is usually" $missing_label: $ write sys$output "I can find it here" $ exit And keep cutting, pasting it futher and futher away (lower) in the .com file. Brian J.