I want to know which line numbers will execute If SPA-TYPE = A will satisfy?
Please find the code in short -
001 PROCEDURE DIVISION
003 IF SPA-TYPE = A
005 DISPLAY 'INFO TYPE'
007 DISPLAY 'NO INFO TYPE'
009 IF SPA-TYPE = A
010 GO TO END-PARA.
012 DISPLAY 'INFO TYPE'
Joined: 20 Oct 2006 Posts: 6962 Location: porcelain throne
this is so easy to test; why don't you?
look-up CONTINUE in the manual (that's the COBOL Language Ref Manual).
it does not matter which version of COBOL.
Neither the ANSII COBOL standards nor IBM extensions
have changed in regard to CONTINUE.
You should compare CONTINUE with NEXT SENTENCE.
even without testing, the manual will provide enough information to make the answer obvious.
Manuals are found by using the IBM manuals button at the top of the page
or use this hyperlink if searching the top of this page is too arduous.