Answer Posted / suresh ramaiyan
It will give compilation time error, as the compiler knows
the value of subscript when compile the program.
ex: A[0]
if you are accessing the same by subscript variable, then
it will give run time error.
ex: A[ws-cnt]
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
When is inspect verb is used in cobol?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
what are decleratives in cobol?
what is the use of outrecord?
What are the pertinent COBOL
What is the local-storage section?
Can we change the password using ALTER? anyone tried and changed?
What are the different types of condition in cobol and write their forms.
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
A table has two indexes defined. Which one will be used by the SEARCH?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What are the access modes of START statement?