How are the next sentence and continue different from each other?
Answer / Faimuddin
In COBOL, the 'NEXT-SENTENCE' statement is used to transfer program control to the first executable paragraph following the current one. On the other hand, the 'CONTINUE' statement transfers program control back to the paragraph that was last exited. The difference lies in the direction of control flow.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which is not true about evaluate statement
can we use 77 level no for Redefines?if we use give an example?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What are declaratives and what are their uses in cobol?
How do get the result of your program directly on your pc?
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
how to transfer the file from pc to mainframe??
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
) how do u code after getting data?
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?