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 |
How to convert bunch of words in a line to relvant ASCII values?
consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error
where will u code file status ?
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
What are the divisions in a cobol program?
What is an in line PERFORM? When would you use it? Anything else to say about it?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
COMP-3 field occupy ?
OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49
I want ALL jcl ERROR cods
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
What is file status 92?