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.....
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / b.ray
1. Determine the need/requirement and characteristics of the JOB.
2. Prepare the JCL.
3. Submit the JCL.
4. JES interprets the JOB statements into internal text and passes to the Z/OS.
5. Z/OS manages each step execution.
6. JES collects the output and information about the JOB.
7. JES prints the output either in SPOOL or through PRINTER (output device) as per need.
8.Purge/Release the JCL from SPOOL.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ch.mohan
both of them
compilation is display the erros of the appllication program
execution is display the o/p
| Is This Answer Correct ? | 0 Yes | 2 No |
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
I want ALL jcl ERROR cods
what is the difference between perform varying and perform until
how to transfer the file from pc to mainframe??
What type of SDLC u followed? Why?
how many divisions are there in cobol
what is the difference between external and global variables?
How do you reference the fixed block file formats from cobol programs
In an EVALUATE statement, can I give a complex condition on a when clause?
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
Why occurs cannot be used in 01 level in COBOL?
what is meaning by design document? who can repared for this?