is there any restrictions for unions ?

Answers were Sorted based on User's Feedback



is there any restrictions for unions ?..

Answer / i go crazy

Union can be used in a cobol db2 pgm, only restriction is it has to be operated using a CURSOR.

Is This Answer Correct ?    5 Yes 0 No

is there any restrictions for unions ?..

Answer / lu

yes, u have to code with the cursor.....

Is This Answer Correct ?    4 Yes 1 No

is there any restrictions for unions ?..

Answer / mehdee

- There is no restriction for UNIONs in DB2 COBOL coding,
but you can think of logical restrictions, for example if
the DB2 tables are so big that your program will run fast
if just access them individually as needed.

Is This Answer Correct ?    0 Yes 3 No

is there any restrictions for unions ?..

Answer / srikanth alla

WE CAN'T CODE union IN COBOL-DB2 program

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More DB2 Interview Questions

For Null indicator we have 3 values 0,-1,-2. 0->Not nulll -1->Null -2->Value truncated If ther is any possibility to have any positive value other than 0 in Null indicator.If it is so then when we will get and what is the value?

1 Answers   BNP Paribas,


Explain about rct in db2?

0 Answers  


What is universal database?

0 Answers  


What is role in db2?

0 Answers  


What will the COMMIT accomplish?

5 Answers  






what is Runstats? Whem will u choose to runatats?

1 Answers   Danske,


I want to fetch the 10th row of a table which has been changed.How can I do it without going thru all the rows.

5 Answers  


What does a deadlock mean in DB2?

0 Answers  


What is the role of union all and union

0 Answers  


Which transaction use a command thread ?

1 Answers  


Explain in detail about buffer manager and its functionalities?

0 Answers  


This was related to -811 sqlcode, In a COBOL DB2 program which accesses employee table and selects rows for employee 'A', it should perform a paragraph s001-x if employee 'A' is present. In this case it gets -811 sqlcode, but still it process the paragraph s001-x. What could be wrong in my code.

3 Answers  


Categories