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 we sort two input files based on a common column and giving one o/p file please send me the coding logic?
why do u need inspect verb?
what is MSGLEVEL?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is Redefines clause?
88 class is used for
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
What is a subscript ?
what is subscript in cobol?give realtime example?
Explain fixed length record in cobol? with suitable example
How many divisions we have in Cobol ?