Size of a column has been changed in DB2 table (Suppose it
was of 5 characters and later changed to 4 characters) and
forgot to change the DCLGEN in COBOL program, what will
happen during the execution of code? If the program Abends
then what will be the error? If it doesn't abend then hpw
the error can be catched?
Answer Posted / ankit
it will work normally until the data fetched is of 4 bytes
but if it will be fetching a data of 5 bytes, then a
exception will occur and program will abend with abend code
SOC7.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to move the records from file to array table. give with code example
what is amode(24), amode(31), rmode(24) and rmode(any)?
A table has two indexes defined. Which one will be used by the SEARCH?
how to convert the recors form vsam file to db2 table tru file aid
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is a SSRANGE and NOSSRANGE?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
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
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.
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write a program to explain size error.
How you can read the file from bottom?
What are the access modes of START statement?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Write the code to count the sum of n natural numbers.