i hav created a program and moved to production but failed
to create the table which is been used in the program. the
program shows error as soon as it is moved or installed in
production or shows error during its runtime. what is the
sqlcode for this error

Answers were Sorted based on User's Feedback



i hav created a program and moved to production but failed to create the table which is been used ..

Answer / andank

The code promotion will fail. When you promote the code
from one region to other (say QC to Production), the
program will be bound (BIND) to the new DB2 environment.
The BIND will fail with SQLCODE of -204 (Object Not found).

The code will not be moved to production successfully and
there is no chance of 'runtime' error.

Is This Answer Correct ?    14 Yes 0 No

i hav created a program and moved to production but failed to create the table which is been used ..

Answer / nitin

If the table is missing then you will get sql code -204.

You will get -204 while binding if you specify the bind
parameter validation(bind) and you will get the -204 at
run time( bind will run sucessfully) if you specify the
bind oparameter as validatin(run).

Is This Answer Correct ?    0 Yes 0 No

i hav created a program and moved to production but failed to create the table which is been used ..

Answer / mahesh

it will Abend with SQLCODE=-922(Authoriziation issue); as
while promotion to production ; it wont allow the tables
created in test region.
Please correct me if i am wrong ?

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More DB2 Interview Questions

What is the clustering index in the db2 database?

0 Answers  


What is bind and rebind in db2?

0 Answers  


5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What would happen when the rollback is issued?

2 Answers  


What language is db2 written in?

0 Answers  


How to resolve -805 error in DB2?

1 Answers   Cap Gemini,






I have a DB2 table which has 1000 rows.after udatingg first 110 rows, my job abends. Now what I have to do if I want to restart the job next time so that it should start updating from 111th row (without updating first 110 rows again).

10 Answers   Cap Gemini, Wipro,


How to resolve -803 sql code in DB2?

3 Answers   Cap Gemini,


What does db2 blu stand for?

0 Answers  


What are catalog tables in db2?

0 Answers  


Do we have any optinon to search part of integer in DB2 as we have for character Like,SUBSTR optins?

1 Answers  


what is Runstats? Whem will u choose to runatats?

1 Answers   Danske,


What is cursor with hold option in db2?

0 Answers  


Categories