I am having a query. Is there any Predefine function or Verb in COBOL which can bring the control out of any construct i.e. If Statement. For Example I am having following condition, its for COBOL/DB2 Pgm.
I want that if from Para3 To Para7, if SQLCODE = +100 is encountered in any Para then remaning Paras should get skipped i.e. If SQLCODE=+100 in Para4 then Para5 To Para7 to get Skipped & Control to set at Para8. One Solution is 'Go To'. I want t to Know any Function or Verb.