adspace


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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

2717


Does any body has ORACLE Certification Dumps or Materials on 9i DBA, 10G DBA, Internet Application Developer, OCP 8i to 10g DBA Upgrade, Oracle 11i if any body have it, please kindly drop an email to: taruni_2k8@yahoo.com

2187


what is the last version,the release date of that version and fix pack of ibm db2 udb?

2059