what is srange and nosrange pls reply to ths question ?
Answers were Sorted based on User's Feedback
Answer / i go crazy
ssrange is a compiler option. if u code this while compiling a cobol program, then the below advantages are there.
1. you cannot access the storage beyond the defintion of the occurs clause.
ex: ws-table occurs 5 times.
you cannot access ws-table(6).
If tried, job will give S0C4 exception.
2. You cannot use negative subscripts while referring to the array.
Ex: ws-table(-1) is not allowed.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / srikanth doki
If we give ssrange means while we store elements in arrays
beyond the limit then it will give error. When we declare no
ssrange means the elements will be inserted beyond the limit
ther will be no particular range. By default compiler will
take as no ssrange.
Is This Answer Correct ? | 2 Yes | 0 No |
What is different between variable length and fixed length?
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
what are the working storage fields in BMS macro?
1.What is the limit of linkage section?
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
What should be the sorting order for SEARCH ALL?
what is the maximum error code in mainframe
How to display the index.(displacement from an array)
what is the difference between implicit and explicit scope terminator with example?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
can we write paragraph in area B .....
Why we need to use redefine clause when we can define the variable seperately... what is actual need....