Difference between next and continue clause
Answer Posted / mahesh
Continue will take the control to the next statement.
Eg:
else if cond
continue|next sentence
else
perform imperative statement
end-if
move xxx to yyy. ---1
move zzz to yyy. ---2
In this case control will be transferred to line 1.
Next sentence will transfer the control to the next
sentence.That is line no.2.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and PIC9v99?
how can i see junk values in dclgen or in hostvariable of comp ?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Which is not true about evaluate statement
what is s000 u4087 error? please give the all error codes in cobol,jcl.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How can you get the ksds file records into your cobol program?
What is amode(31)
How to remove 2 duplicate records and copy only one using job control language?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Why occurs cannot be used in 01 level in COBOL?
What is report-item in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue