Wat is the difference between NEXT and CONTINUE statement in
cobol,can any one explain with example.
Answer Posted / abhilash
Its simple
Both mean transfer of control.
Continue - Will transfer control to next statement after
explicit scope terminator.( end-if, end-perform etc.)
Get Next - Will transfer control to next statement after
Implicit scope terminator (. operator)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write the code to count the sum of n natural numbers.
Name the sections present in data division.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
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 ......
Why did you choose to work with ibm mainframe cobol programming?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the difference between Call and a Link?
What are the different open modes available in cobol?
what is the difference between COBOL2 AND COBOL390?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
State the various causes of s0c1, s0c5 and s0c7.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
IF I mention stop run in CICS what happens?