Answer Posted / puneet pandhi
It is possible to submit a job from a DB2 Stored Procedure.
In the WLM start up procedure, ask your DBA to add this
//JCLJOB DD SYSOUT=(,INTRDR)
Create one file JCLFIL and populate the JCL that you want
to submit into this file. When you close this file, the job
should get submitted.
then as you close the file the job will be submitted and in
SP add SELECT JCLFIL ASSIGN TO JCLJOB
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Write the code to count the sum of n natural numbers.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Have you used comp and comp-3 in your project? And how?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What rules are followed by the search verb.
How do get the result of your program directly on your pc?
In COBOL programming, what is PERFORM? What is VARYING?
What are different data types in cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Write some characteristics of cobol as means of business language.
How many sections are there in data division in COBOL?
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?