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 |
What are the rules of the move verb?
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
Give some examples of command terminators?
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?
what are the error codes in cobol, db2, cics, vsam , and jcl
Syntax for JCLLIB & JOBLIB???
Give some advantages of REDEFINES clause?
How you can delete a record from a ps file in cobol?
write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...
What is the difference between external and global variables in COBOL?
which is better either static call or dynamic call? and why?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all