How do you submit JCL via a Cobol program?

Answers were Sorted based on User's Feedback



How do you submit JCL via a Cobol program?..

Answer / m.sukumar

Using internal reader....

Is This Answer Correct ?    8 Yes 1 No

How do you submit JCL via a Cobol program?..

Answer / nihar ranjan karan

To elaborate further on the internal reader....

Put your JCL statements in DISPLAY statements in the COBOL
program...

In the Run JCL ....give the following DD statement...

//SYSOUT DD SYSOUT=(*,INTRDR)

as soon as your program is executed the DISPLAY statements
will be written to the SYSOUT and in turn the internal
reader picks up those statements from the SYSOUT and
executes them....

Is This Answer Correct ?    9 Yes 3 No

How do you submit JCL via a Cobol program?..

Answer / s.vijay krishnan

Step 1 : write all the jcl statements in a file.
step 2 : in the jcl assign the dd statement to sysout with
intrdr.

Is This Answer Correct ?    5 Yes 1 No

How do you submit JCL via a Cobol program?..

Answer / 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

How do you submit JCL via a Cobol program?..

Answer / hugo

use call IKJETF01

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More COBOL Interview Questions

Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."

4 Answers   CSC,


DATAONLY, MAPONLY functionality?

1 Answers   IBM,


1.What is the limit of linkage section?

4 Answers  


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?

0 Answers   HeadStrong,






How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


which is better either static call or dynamic call? and why?

5 Answers   HCL,


How many divisions we have in Cobol ?

4 Answers   Wipro,


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


What is the local-storage section?

0 Answers  


what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C

3 Answers   TCS,


What are the different rules to perform a Search?

0 Answers  


Categories