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 |
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
I know my query will return more than one row but I don't want cursor what should I do?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
Write a program to concert an Indexed file into Sequential file?
9(2).99 how many bytes take? Why . consider as a byte?
Write down the divisions of cobol program?
s9(18) comp-3:: What is the size of memory it takes internally?
How can we pass data from cobol to JCl?
can we use full outer join with cursors declared in cobol program?
can any one help -s806
Can 88 level variable be declared in FD section..?
subscript and index r not coded in u r application program what will happen?