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 to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1228


Write the code to count the sum of n natural numbers.

1253


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1381


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

2520


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1151


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1306


What rules are followed by the search verb.

1194


How do get the result of your program directly on your pc?

2393


In COBOL programming, what is PERFORM? What is VARYING?

1205


What are different data types in cobol?

1382


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3317


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

2603


Write some characteristics of cobol as means of business language.

1196


How many sections are there in data division in COBOL?

1180


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?

2324