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
Explain about different table spaces.
What do you understand by psb and acb?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How many bytes S(8) comp field occupy and its maximum value?
What is the LINKAGE SECTION used in COBOL?
Whats the difference between search & search ALL?
Which division and paragraphs are mandatory for a COBOL program?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
State the various causes of s0c1, s0c5 and s0c7.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
what is the difference between COBOL2 AND COBOL390?
What is the utilization of copybook in cobol?
What is report-item in COBOL?