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 |
If I want to increase the Limit in GDG. What should I do?
What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
What care has to be taken to force program to execute above 16 Meg line?
What is cobol?
tell me about examine inspect and evaluate ?
What are decleratives in COBOL ?
can any one help -s806
What is the difference between a DYNAMIC and STATIC call in COBOL?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is Comm?
2 Answers IBM, Kemper Corporation,
How do you define a sort file in JCL that runs the COBOL program?
can we display comp-3 variables. if we want to display what we have to do . give me one example