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 |
How to read a 100 record from a file through cobol?
I want ALL jcl ERROR cods
How to retain the Duplicates in the one records?
what happens of we dont give time stamp in precompilation process
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
What is the reference modification.
if someone is using my file,how can i find which user id is using?
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.