Q1. How will you use two different DB2 qualifiers in a single COBOL program?

Suppose we have 2 tables EMP1 and EMP2 with same structure defined in two different DB2 qualifiers QUAL1.EMP1 and QUAL2.EMP2 now during first 15 days we want to use QUAL1.EMP1 and rest of the days QUAL2.EMP2  how will we do this. 

We can create a single program and a single load for this program. 

Answers were Sorted based on User's Feedback



Q1. How will you use two different DB2 qualifiers in a single COBOL program? Suppose we have 2 t..

Answer / gaurav alugh

We can do our code (in this code define everything for both the tables) and on the basis of DATE function from COBOL we can see what's the date. on the basis of that we can call our query referring to required tables.  

Is This Answer Correct ?    4 Yes 3 No

Q1. How will you use two different DB2 qualifiers in a single COBOL program? Suppose we have 2 t..

Answer / karthis4u

I wonder where do we mention qualifier name in program? We mention it in bind card.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

what are extents?

5 Answers  


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

2 Answers  


how to resolve -805. give clear explination for that

2 Answers   IBM,


What is a Foreign Key?

0 Answers   Tavant Technologies, Zensar,


What is isolation level in db2?

0 Answers  






What are the abend codes occour in ur latest PROJECT in DB2

2 Answers   Cap Gemini,


B37 abend during spufi?

0 Answers   IBM,


What is the maximum number of tables that can be stored on a Partitioned Table Space ?

1 Answers   IBM,


How do I delete a column in db2?

0 Answers  


What is dbrm in db2 database?

0 Answers  


how can u retrieve the data from null values using applicaion program.

3 Answers   TCS,


List down the data types in the db2 database.

0 Answers  


Categories