wht happens if we dnt give scope terminator ?

Answers were Sorted based on User's Feedback



wht happens if we dnt give scope terminator ?..

Answer / rahul

For better readablity, we use scope terminators in the
program.
scope terminator closes are not the executable statements.
Nothing will happen to the program by not using these
terminators.

Is This Answer Correct ?    7 Yes 1 No

wht happens if we dnt give scope terminator ?..

Answer / renga

For Inline Perform and End-evaluate scope terminator is
mandatory. So it will result in compilation err. For others
the program logic will got impacted.

Is This Answer Correct ?    3 Yes 2 No

wht happens if we dnt give scope terminator ?..

Answer / prachi

exapamples of scope terminators are end-if for if statement
end-evaluate for evaluate function. So if we dont give end-
if when we are using if statement ...it willl throw
compilation error..So scope terminator is needed to end the
loop..if we dont give scope terminator it will throw
compilation error...

Is This Answer Correct ?    3 Yes 5 No

wht happens if we dnt give scope terminator ?..

Answer / venu

the program will not be executed successfully

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More COBOL Interview Questions

can we use variable picture clause as xx.99 in cobol.

3 Answers  


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,


why occurs clause not mentioned in 01 level

6 Answers   HCL, NIIT, TCS, Tesco,


What guidelines should be followed to write a structured cobol prgm?

0 Answers  


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

0 Answers  






When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.

1 Answers   CTS,


. How do we cast a variable in COBOL

1 Answers   HSBC,


HOw can I get the negative sign while deduct high value from low value

0 Answers  


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

0 Answers  


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

0 Answers  


Is It Possible to Update or change in VIEW Mode?

5 Answers   CSC,


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


Categories