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 two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
how to access the file from prodution from changeman tool and to submit a file to production
can we use COPY statement in w-s section? how?
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
perform I from 0 by 1 until I=5?How maney times it will executes
How can you declare the file ?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
What is a scope terminator give example?