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

What is the difference between binary search and sequential search?

643


What are literals?

632


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

425


When is inspect verb is used in cobol?

679






I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933


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

5563


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1590


What are the different open modes available in cobol?

722


What kind of error is trapped by on size error option?

743


State the various causes of s0c1, s0c5 and s0c7.

665


What is the difference between structured cobol programming and object alternativelyiented cobol?

757


What is difference between static and dynamic call in cobol?

779


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6837


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695