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. 

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are iseries servers?

562


How to resolve deadlock issue

17942


When the like statement is used?

629


What is meant by union and union all?

578


If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

1572






Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

618


What is page size in db2?

559


What is the maximum size of a char data type in db2?

582


How do I import data from excel to db2?

607


When do you specify the isolation level?

606


What is role in db2?

612


What is cursor with hold option in db2?

607


Where do you specify them?

676


How would the varchar column remarks defined?

631


What is iseries database?

593