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 |
What is normalisation?
what are the utilities for load and unload the DB2 tables
What kind of error is trapped by on size error option?
I have PS flat file with 14 records. I want to read from 4th to 9th record and want to write those 6 records (4th record to 9th record) to another PS file (output file). there is no key defined in the input file. I just want read a certain Consecutive records. can any one please give me the procedure division Coding for this. I have coded the below coding but the READ-PARA is performing only 1 time even though I have 14 records in my input file (i.e FILE-1): PROCEDURE DIVISION. A000-SECTION. MOVE 0 TO I. OPEN INPUT FILE-1. IF CHECK-KEY1 > 0 DISPLAY "OPEN ERROR FOR FILE-1, CODE IS:" CHECK-KEY1 END-IF. OPEN EXTEND NEWFILE-1 IF CHECK-KEY3 > 0 DISPLAY "OPEN ERROR FOR NEWFILE-1 COD IS" CHECK-KEY3 END-IF. PERFORM READ-PARA THRU EXIT-PARA UNTIL EOF-REC = 'YES'. DISPLAY " FINALLY OUT OF LOOP" CLOSE FILE-1 CLOSE NEWFILE-1 STOP RUN. READ-PARA. ADD 1 TO I READ FILE-1 AT END MOVE 'YES' TO EOF-REC IF I > 3 AND < 10 PERFORM WRITE-PARA ELSE DISPLAY "NOT IN RANGE" END-IF. EXIT-PARA. EXIT. WRITE-PARA. WRITE NEW-REC FROM FILE1-REC.
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
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
What divisions, sections and paragraphs are mandatory for a COBOL program?
What are all the divisions of a COBOL program?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do you do in-line PERFORM?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Where the Plan is located in CICS-DB2