What is the difference between NEXT SENTENCE and CONTINUE?
Answers were Sorted based on User's Feedback
Answer / guest
next sentence:control is skipped to next sentence after a
full stop,continue:control is skipped to the next
executable instruction after a scope terminator.so always
prefer continue rether than next sentence
| Is This Answer Correct ? | 25 Yes | 2 No |
Answer / vampire
if we give next control will execute after full stop
ex
01 pic a x(10).
01 pic b x(10)
next sentence
01 pic c x(10)
01 pic d x(10)
01 pic e x (10).
01 pic f x(10).
it ill skip 01 pic c x(10)
01 pic d x(10)
01 pic e x (10).
continue perform all executable statements
01 pic a x(10).
01 pic b x(10)
continue
01 pic c x(10)
01 pic d x(10)
01 pic e x (10).
01 pic f x(10).
| Is This Answer Correct ? | 5 Yes | 0 No |
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
How do define dynamic array in cobol.
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
What is file status 92?
Can we put move statement in COBOL copybook
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
how to convert vsam table into DB2 table?
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
How to remove 2 duplicate records and copy only one using job control language?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
Explain call by context by comparing it to other calls.