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 |
how do you define single dimensional array and multidimensional array in your cobol?
What is XDC ?
I know my query will return more than one row but I don't want cursor what should I do?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
How can you get the ksds file records into your cobol program?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is a scope terminator? Give examples.
What is COMP SYNC?
Difference between array and sub-script ?
what is a load module ?
can we read in input the file with a variable length ? please , how ..could you help me ?