What is SSRANGE, NOSSRANGE ?
Answers were Sorted based on User's Feedback
Answer / ms. stanley
SSRANGE is a compiler option used to handle an array overflow
Default Compiler Option is NOSSRANGE and hence when required
to handle the overflow condition, SSRANGE Compiler Option
needs to be specified in the COBOL Program (The first Line
of the program)
| Is This Answer Correct ? | 57 Yes | 5 No |
Answer / harish
suppose in your program your are using array occurs 10 time
in this case if you use NOSSRANGE (WHEN YOUR PROGRAM TRY TO
ACCESS 11TH TIME PROGRAM WILL NOT ABEND INURN IT ENDS THE
LOOP,ERROR FREE)
SUPPOSE IN CASE OF SSRANGE
YOUR PROGRAM STOP WITH ERROR ,PROGRAM ABENDS,(I THINK SOC4)
Harish poomgame shivappa
NIIT Technolgies
Kolkata
| Is This Answer Correct ? | 41 Yes | 6 No |
Answer / msa
I think this is how.
=COLS> ----+----1----+----2----+----3
****** *****************************
000001 PROCESS NOSSRANGE
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / avinanda mukherjee
Stanley, please le me any example to introduce SSRANGE in
COBOL program..
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / laxman
SSRANGE is compiler option,array is overflow means declare
in 10 and access 11th position,the program does not
abend.default is NOSSRANGE,u want SSRANGE in your program
declare in first line of program.
| Is This Answer Correct ? | 6 Yes | 3 No |
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
what happens if parmparameter passes zero bytes to the program
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
which one is better among static call and dynamic call?
How can you add a particular field in copybook?
How is sign stored in a COMP field ?
What kind of error is trapped by on size error option?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
i want a program using by if, evaluate , string, unstring, perform, occurs?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
What are VS COBOL 11 special features?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?