Can we access the a[0] in the array ?
Answers were Sorted based on User's Feedback
Answer / jai ho
i think it will send soc4 abend bcoz a[0]
is out of bound.
Correct me
Is This Answer Correct ? | 4 Yes | 0 No |
It will give compilation time error, as the compiler knows
the value of subscript when compile the program.
ex: A[0]
if you are accessing the same by subscript variable, then
it will give run time error.
ex: A[ws-cnt]
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / i go crazy
The compilation should be done with the compiler option SSRANGE. If NOSSRANGE is used, then we can use A(0) without any issue.
Is This Answer Correct ? | 3 Yes | 0 No |
How do u write test cases?
At the minimum, which division of COBOL is enough to be coded?
How does IDMS communicate with CICS?
What is amode(24)?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
which is better comp or comp-3 in terms of memory utilization?
What is the difference between CALL BY VALUE and CALL BY CONTENT?
How to open and see copy book ?
Explain about different table spaces.
If we use GO BACK instead of STOP RUN in cobol?
how to run sub programs using static and dynamic call ...
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.