What is the difference between NEXT SENTENCE and CONTINUE?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

677


Write a program that uses move corresponding.

686


how do you reference the variable block file formats from cobol programs

696


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1125


What are the various section in data division and briefly explain them.

711






What is the utilization of copybook in cobol? Could we utilize a similar copybook?

728


) How do u handle errors in BMS macro

1514


What is the Purpose of POINTER Phrase in STRING command in COBOL?

731


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?

5387


What type of SDLC u followed? Why?

1536


How do you reference the fixed block file formats from cobol programs

715


Which is not true about evaluate statement

1630


) what is the difference between AID and HANDLE AID?

1641


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

1623


what is amode(24), amode(31), rmode(24) and rmode(any)?

707