What are the steps you go through while creating a COBOL
program executable?
Answer Posted / asmara
1. COBOL + DB2 Programm
2. Source code will store in link-edit
Extracted SQL statements store in DBRM
where the time tokens are taken
3. Link - edit will compile and send it to load module
4. DBRM after setting the token the input will send to BIND
5. BIND will check the SQL Statements and check the syntax
and compile it and send to Package
6. Package will hold only one DBRM at a time so No. of
Packages store in PLAN.
7. Plan Will execute the statements
8. Finally it will combine and if the time stamp matches it
will exectue otherwise the time stamp mismatch error will
occur which -818.
if you want to resolve then u want to do the precompilation
again.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
For rewrite, why is it mandatory that file needs to be opened?
What guidelines should be followed to write a structured cobol prgm?
Difference between array and sub-script ?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to print 10 to 1 if the input have only 10 digit number?
Name the sections present in data division.
What is the local-storage section?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Define static linking and dynamic linking.
what happens if parmparameter passes zero bytes to the program
What is a report item?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what is search and searchall?what is the diffrence between them?give an best example?