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

What happens in bind step in a db2 program?

0 Answers  


Are view updateable?

0 Answers  


How to compare data between two tables in db2?

0 Answers  


When is the skeleton cursor table created?

1 Answers  


What is dbrm library?

0 Answers  






When would you prefer to use VARCHAR?

3 Answers  


can we view the access paths created by dbrm ? how ? thx

2 Answers   IBM,


i know the stpes 2 create an executable CICS/DB2 cobol code. 1. DB2 Precompiler converts the SQL Statements into COBOL API statements and creates another member with Acess plans. CodeA results in CodeB (code with API calls) & CodeC ( Access Plans ) 2.Code B is compiled/linked 2 create an exceutable.(codeE) 3.Now CodeC is binded to the database on which CodeE will be run. Can somebody provide me the sample JCLs for precompile/compile/link/bind.

0 Answers  


What is the use of with ur in db2?

0 Answers  


What is lock escalation?

2 Answers  


What is cursor stability?

1 Answers  


What does runstats do in db2?

0 Answers  


Categories