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 amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
how to convert the recors form vsam file to db2 table tru file aid
How to remove 2 duplicate records and copy only one using job control language?
What is a scope terminator give example?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is static and dynamic call in cobol?
Why did you choose to work with ibm mainframe cobol programming?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is report-item in COBOL?
What are declaratives and what are their uses in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How do you get the data to code the BMS macro?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is a SSRANGE and NOSSRANGE?
What is the Purpose of Pointer in the string?