we can code COPY DCLGEN or INCLUDE DCLGEN, At which stage of the precompilation , dclgen get expanded if we write 1) copy 2) include one question about dclgen.. Is it mandatory to use declare table in dclgen.. I think no...but it will be used by the precompiler to validate the table name,column name etc.., can one clear my doubt ..is it necessary to include declare table or not?
2 18123One program calling 5 subprograms, its a cobol db2 program, after precompilation how many plans and packages will created?
3 18618What error I will get if my select query gives multiple row while executing a Cobol-DB2 program.How can I solve it without using a cursor.
4 11876My cobol program(not having any sql statements) is calling another cobol program ( having sql statements), what is needed for compilation and run in jcls .
3 129621. what if null values retrived from database and no null indicator mentioned in query. What is sql code.
1 8549What if , we failed to mentioed null indicator in sql select query , that may retrieve null value ?
2 9388What if we try to insert the base table through updatable view , but failed to give a column value which is defined as NOT NULL.
1 6706What value the host varible will contain , if null indicator value is -2 ? Will it contain the truncated value or nothing will move ?
3 12975i 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.
2442
How do I optimize a query in db2?
What is the use of value function?
What is cursor in dbms?
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.
Explain the contention situations caused by locks?
Explain about cursor stability?
What is the role of the data page in the db2 database?
Where do you specify them?
How to find schema of a table in db2?
What is db2 plan table?
How to check last update on table in db2?
What are the rules for db2 programming?
What is db2 stogroup?
Explain in detail about buffer manager and its functionalities?
What is ibm db2 database?