Can we use goto statement in inline_perform ?

Answer Posted / shan

The example used by Sivakumar is perfect,

Perform is used for looping, so it should have a exit
condition. simply perform and end perform wont make wright
syntax.

another kind of perform is

PERFORM <paragraph name> until < conditions>

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2763


What is a scope terminator give example?

735


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1782


Which mode is used to operate the sequential file?

800


how can i see junk values in dclgen or in hostvariable of comp ?

2635






What is the difference between PIC 9.99 and 9v99 in COBOL?

850


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

982


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2837


what is search and searchall?what is the diffrence between them?give an best example?

5875


What is length is cobol?

750


What is the difference between Call and a Link?

794


Which Search verb is equivalent to PERFORM…VARYING?

778


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.

5231


what is amode(24), amode(31), rmode(24) and rmode(any)?

790


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)?

729