wht is the difference between goto and perform stmts

Answer Posted / venu

in go to the control will be transferred to either forward
or backward.once u pick to forward it wont come backward.
only single iteration will be done in go to.
in perform the control transferred to both backward n
forwars also, here multiple iterations will be done.

Is This Answer Correct ?    41 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

713


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

670


What is comp-1 and comp-2?

756


What is the difference between perform … with test after and perform … with test before?

877


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2103






How are the next sentence and continue different from each other?

760


Which Search verb is equivalent to PERFORM…VARYING?

680


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

670


What are the different rules to perform a Search?

613


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.

5051


Can we change the password using ALTER? anyone tried and changed?

1542


how do you define single dimensional array and multidimensional array in your cobol?

667


What is the problem of ordered sequential files access?

693


What the difference is between continue and next sentence?

651


What is rmode(24)

676