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 do you define a table/array in COBOL?
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
Can we put move statement in COBOL copybook
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
if a file has 1000 recods how copy the records from 1 to 100 records using sort
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
What will happen if we try to create GDG (+2) generaton instead of (+1) generation?
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.