How do you prepare a COBOL + DB2 program from coading till
execution ?



How do you prepare a COBOL + DB2 program from coading till execution ?..

Answer / kaushik datta

1.Code the program with all DB2 statements inside EXEC
SQL/END-EXEC statements
2.Compile the program with suitable compile JCL/ENDEVOR.In
endevor give proper processor group
3.Package Bind the program. M.5.1.5.4
4.Create proper JCL to run that.You can you IKJEFT01

5. Run the JCL.Your program loadb should be in the library
mentioned in the STEPLIB of run JCL

Is This Answer Correct ?    9 Yes 4 No

Post New Answer

More DB2 Interview Questions

i have table agdet i want first 5 maximum commission which query will you write for this thanks in advance

3 Answers  


What is a DB2 bind?

3 Answers  


What is the difference between using bind () and rebind () methods of naming class?

0 Answers  


What is SPUFI?

4 Answers  


What is the specific need of Plan and..where are the tables in DB2 are physically saved

3 Answers   Infosys,






What are foreign keys in db2?

0 Answers  


What is index in db2?

1 Answers  


What is EXPLAIN?

1 Answers  


How to update more then one record using update?

5 Answers   IBM,


if any of the column names is provided wrong, where do you get the error(during precompilation or during Bind)

3 Answers  


What statistic will tell the DBA how must space can be reclaimed from dropped table spaces on the next reorg run?

1 Answers  


When is the authorization check on DB2 objects done - at BIND time or run time?

1 Answers  


Categories