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 we rectify soc7 and soc4 errors in project?
what are the error codes in cobol, db2, cics, vsam , and jcl
what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are decleratives in COBOL ?
Have you code any new programs in COBOL ? What is the functionality of the programs?
should I use Go back in the main program ? Yes we can use Go back in main program as well.
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
how will u code parm parameter and where pls ?
Should I use STOP RUN in the sub program??why?
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
What are the different rules for performing sort operation?