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

What is isolation level?

4 Answers  


what is commit & rollback? When and where is used while compiling a cobol-db2 program?

2 Answers  


Can we declare cursor in Procudere division or open the cursor in the Working storage section. Is there any particular rules in the usage of cursors lifecycle

1 Answers   Infosys,


Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


I HAVE 2 TABLES ONE IS EMP_TABLE AND ANOTHER DEPT_TABLE.EMP_TABLE CONTAINS NAME,DEPTNO,DEPTNAME,LOCATION AND DEPT_TABLE CONTAINS DEPTNO,DOJ(DATE OF JOINING).I WANT TO DISPLAY NAME,DEPTNAME,DOJ AND WHO ARE JOINED BETWEN 01- JAN-2007 TO 01-JAN-2008?

6 Answers   Perot Systems,


wht is d/f b/w inner join and outer join ? d/f group by and order by having by ?

2 Answers  


What are the three types of page locks that can be held?

1 Answers  


Is db2 free?

0 Answers  


Mention the downsides of page level lock.

0 Answers  


If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?

2 Answers  


What is image copy in db2?

0 Answers  


what is + sign and -ve sign for sql code ?

1 Answers   TCS,


Categories