wht is the difference between goto and perform stmts
Answer Posted / makar
First, what are they use for?
1) 'Go to' statement is use when you want to perform a para
or skip some para's(Somtimes tag are used instead of para)
and jump to next para or tag, without the control comming
back to statement after go to. It is like a Jump.
2) 'Perform' is used when you what to want to perform a
para and want the control to comeback to called statement.
However if you do not use EXIT statement at the end of the
para, it will 'fall thru' and perform the next para. Always
use Perform.. thru and Exit statement if you want the
control to come back.
| Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
IF I mention stop run in CICS what happens?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are the different types of condition in cobol and write their forms.
Write a program that uses move corresponding.
Whats the difference between search & search ALL?
What are the pertinent COBOL
How do you reference the following file formats from cobol programs?
Which is not true about evaluate statement
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
) how do u code after getting data?
how to access the file from prodution from changeman tool and to submit a file to production
What is the difference between Global and External Variables?
what is the use of outrecord?
What is the difference between perform … with test after and perform … with test before?
Explain about different table spaces.