How do you prepare a COBOL + DB2 program from coading till
execution ?
Answer Posted / 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 View All Answers
Is db2 a mainframe?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
what are bind concepts in db2 cobol?
How to create db2 table in mainframe?
Is db2 a database?
What does reorg do in db2?
What is table space in db2?
what is the responsibility of the construction superintendent
How do I optimize a query in db2?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is explain plan in db2?
What is reorg and runstats in db2?
What is a bind in db2?
What does db2 mean?
have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.