How to bind a cobol module to a given job?
I am not able to understand this concept.Can anyone help me
out as how to carry out this task?
Answer / Mahendra Singh
Binding a COBOL module to a specific job in COBOL involves defining the EXEC SQL SECTIONs within your COBOL program and creating an external program that can be linked with the COBOL program using a preprocessor such as SQL/COBOL. Here's a step-by-step guide on how to do it: 1. Use the COBOL preprocessor (SQL/COBOL) to compile your COBOL source code, which includes EXEC SQL SECTIONS. 2. Create an external program using a language like C or Fortran that connects to the database and initializes necessary parameters such as connection details, job name, etc. 3. Link both the compiled COBOL object file and the external program to create a new executable. 4. Finally, run the newly created executable with appropriate arguments to specify the job name.
| Is This Answer Correct ? | 0 Yes | 0 No |
How would you go about increasing the buffer cache hit ratio?
What is a deadlock and what is a live lock? How will you go about resolving deadlocks?
what is the differnce between process and thread ?
the process of adding a cpu in sql server is called..?
How do you open a cluster administrator? : sql server DBA
Can you redefine a table online?
How do you resize a data file?
what is incremental checkpoint?
How would you force a log switch?
Explain the difference between a data block, an extent and a segment.
What is blocking and how would you troubleshoot it?
How would you determine the time zone under which a database was operating?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)