wht happens if we dnt give scope terminator ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
can we use variable picture clause as xx.99 in cobol.
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.
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?
what is amode(24), amode(31), rmode(24) and rmode(any)?
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.
. How do we cast a variable in COBOL
HOw can I get the negative sign while deduct high value from low value
how do you define single dimensional array and multidimensional array in your cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Is It Possible to Update or change in VIEW Mode?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?