what is srange and nosrange pls reply to ths question ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

664


What is the difference between perform … with test after and perform … with test before?

865


What type of SDLC u followed? Why?

1512


How arrays can be defined in COBOL?

658


Differentiate between structured cobol programming and object-oriented cobol programming.

658






what is search and searchall?what is the diffrence between them?give an best example?

5525


Explain about different table spaces.

640


What is the difference between external and global variables in COBOL?

804


How do you reference the fixed block file formats from cobol programs

692


Define cobol?

854


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8602


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

666


What are the pertinent COBOL commands?

2617


) How do u handle errors in BMS macro?

1418


What rules are followed by the search verb.

629