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
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are 77 levels used for?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the use of intialize verb?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What is the usage of comp fields in cobol?
What are the different rules for performing sort operation?
What is the difference between next sentence and continue in cobol programing language?
How can you get the ksds file records into your cobol program?
What is the difference between comp and comp-3?
What are various search techniques in cobol? Explain.
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.