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

How do I delete a table in db2?

0 Answers  


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

0 Answers  


What is CHECK PENDING ?

5 Answers  


Q4. How will you get the count of record without using COUNT verb in query?

2 Answers   IBM,


What are the different types of base tables?

0 Answers  


In cobol+DB2program if the code of cobol program has changed than i have to do precompilation once again?

6 Answers   TCS,


How can you find out which query is taking lot of time to execute in cobol-db2 program ?

1 Answers   Danske,


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

0 Answers  


How to rename a table in DB2 ?

0 Answers   MCN Solutions,


What are column-name qualifiers used?

1 Answers  


what are the frequent DB2 abends did you encounter in your programs ?? What are different SQL abends ??

4 Answers   Xansa,


Is schema the same as database?

0 Answers  


Categories