Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How would you move a tablespace (using STOGROUP) to a different DASD volume allocated to that tablespace?

1 Answers  


Define db2 and its databases?

0 Answers  


Where would you find information about the type of database authority held by the user?

2 Answers  


Discuss about db2 bind?

0 Answers  


What is dpf in db2?

0 Answers  


What is null value in db2?

0 Answers  


What is QUIESCE?

2 Answers  


What's the maximum number of volumes that can be added to a STOGROUP?

1 Answers   IBM,


what will be the output of the below given query, if no matching records are found : (a.) 0 (b.) null (c.) error select Avg(salary) from TableA where Deptno = 'insurance'

10 Answers   Amdocs,


Consider that a package is bound into 2 different collections and the PKLIST option specifies both the collections. If the collection id is not specified in the program while executing the SQL query, then when the DB2 system will search the package list, which collection will it pick up or will it give an error/abend?

1 Answers  


how to copy the host variables from ps file into cobol program other than include statement

1 Answers   Syntel,


What is the purpose of the WHENEVER statement?

1 Answers  


Categories