Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
BILover
Contributor
Contributor

the control statement is not correctly matched with its corresponding start statement end sub

I have this error message when I try to reload my script in QS:

the control statement is not correctly matched with its corresponding start statement

end sub

I´m working with "Sub ....End Sub"

Can someone help me please?

Thanks

 

1 Reply
AndrewMcIlwrick
Luminary Alumni
Luminary Alumni

Without full script it is hard to help. The problem may not even be the Sub
End Sub pair but another command.

QS will syntax parse the entire script, even if you have an EXIT SCRIPT