Home > Software > Mainframe > Cobol
Interview Questions   Tutorials   Discussions   Programs   

Cobol - What is SSRANGE, NOSSRANGE ?




1136
views
asked mar August 3, 2014 12:16 AM  

What is SSRANGE, NOSSRANGE ?


           

1 Answers



 
answered By Mswami   0  
These are compiler options with respect to subscript out of range checking.

NOSSRANGE is the default and if chosen, no run time error will be flagged if your index or subscript goes out of the permissible range.

SSRANGE: If the program is compiled with SSRANGE option, then any attempt to refer an area outside the region of the table will abnormally terminate with protection exception, usually S0C4.It also avoids any meaningless operation on reference modification like negative number in the starting position of reference modification expression. If the program is compiled with NOSSRANGE, then the program may proceed further with junk or irrelevant data. So usually the programs are compiled with SSRANGE during development and testing.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  3 people following this tag

  Question tags

cobol × 1

Asked 2 years and 3 months ago ago
Number of Views -1136
Number of Answers -1
Last updated
3 years and 4 months ago ago

  Similar questions


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert