What happens in the background of spool when we submit a job
for compilation and execution... This is a recent question in
ibm...Kindly help me.....

Answer Posted / vijay krishna

During compilation, first step would be precompilation process which would look for any EXEC SQL or EXEC CICS statements (which are other than host language) and produces a object deck. In case of EXEC SQL statements, cobol code is created with SQL statements commented & the SQL statements are separated and segregated as DBRMs. The cobol code is compiled for syntax errors. Only basic syntax check is made for SQL DBRM. Then the object deck is link edited to produce load module. For the DBRMs the executable form of code is produced only during the DB2 bind process.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are literals?

622


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2088


what is search and searchall?what is the diffrence between them?give an best example?

5534


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

736


How do you get the data to code the BMS macro?

1470






How to print 10 to 1 if the input have only 10 digit number?

803


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1605


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

639


Can we change the password using ALTER? anyone tried and changed?

1536


What are the pertinent COBOL

2035


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1757


What is link edit in cobol?

730


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

806


What are the pertinent COBOL commands?

2617


How do you reference the following file formats from cobol programs?

689