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 |
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
) How do you access the migrate the data from production region to development region
What is the difference between binary search and sequential search?
How arrays can be defined in COBOL?
Can printer files (having 133 characters) be of variable length?
can I copy book which contain db2 statment in procedure divion?
subscript and index r not coded in u r application program what will happen?
i Want All cobol ERROR codes?
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
What is difference between static and dynamic call in cobol?
Explain about different table spaces.