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

Which catalog tables contain authorization information?

1 Answers  


How to resolve -917 sql code in DB2?

3 Answers   Cap Gemini,


max number of columns in a db2 table?

6 Answers  


What are the Isolation levels possible ?

5 Answers  


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

0 Answers  






Are view updateable?

0 Answers  


What is dbrm? When it will be created?

0 Answers  


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

2 Answers   IBM,


What are the various isolation levels possible?

0 Answers  


How to solve S0C7 abend with out using DISPlay in 10 mins?

1 Answers   IBM,


What is dclgen (declaration generator)?

0 Answers  


What is load replace in db2?

0 Answers  


Categories