SSRange is used to do a range check on which of the
Following.
SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.
Answer Posted / asmara
After going thru all the details i came out to know that:
For generating a code that checks if subscripts or indexes
try to reference an area outside the region of the table.
Reference Modification: will ensure that only the starting
positionand is not greater than the current length of the
subject data item.
But Run-time option: you will get range checking only if
you compile your program with the SSRange option and run it
with the CHECK(ON) run time option.
If i am wrong let me send a copy of answer to my mail.
Because i am in dilema that Run-time Option or Reference
Modifiers. So clear me if i am wrong or right.
Regards,
Asmara
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
example for sub strings ? and refernce modifications whit output pls
Explain how you can characterize tables in cobol?
What is a SSRANGE and NOSSRANGE?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What do you understand by psb and acb?
how can i see junk values in dclgen or in hostvariable of comp ?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Difference between array and sub-script ?
What are the pertinent COBOL commands?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What rules are to be followed while using the corresponding options?
Write a cobol program making use of the redefine clause.