Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you submit JCL via a Cobol program?

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


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

1182


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2478


How arrays can be defined in COBOL?

1133


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5313


What is static and dynamic call in cobol?

1000


Write down the divisions of cobol program?

1146


How you can read the file from bottom?

1082


What is the problem of ordered sequential files access?

1108


What is a SSRANGE and NOSSRANGE?

1413


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9016


How do you get the data to code the BMS macro?

1919


Have you used comp and comp-3 in your project? And how?

2424


How do define dynamic array in cobol.

1081


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1221


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2530