Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.

Answer Posted / vinutna koritala

continue will skip control to next executable instruction
after scope terminator. Next sentence will pass control to
next sentence after fullstop.Always prefer continue
statement.

Is This Answer Correct ?    16 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes S(8) comp field occupy and its maximum value?

1600


) how do u code after getting data?

1558


Give some examples of command terminators?

733


what is search and searchall?what is the diffrence between them?give an best example?

5482


How to know whether the module is dynamical or statistical?

627






What is cobol?

713


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1780


Why occurs cannot be used in 01 level in COBOL?

693


Explain how you can characterize tables in cobol?

619


Name some of the examples of COBOl 11?

2659


Explain what you understand by passing by value.

661


What are the rules of the move verb?

672


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1591


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5323


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2062