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

TYPES OF SORTINGS. which is more prefarable.

2 Answers   Syntel, TCS,


what is level 66 means??

7 Answers  


Why there is no questions in this column?

6 Answers  


what is the coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

0 Answers  






What should be the sorting order for SEARCH ALL?

5 Answers  


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

0 Answers   CDC,


what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99

2 Answers   TCS,


how many bytes do SPPPP999 will store?

18 Answers  


what is Reentrancy and Quasi-reentrancy?

1 Answers  


how to know that the file has 300 records how to acess it?

0 Answers   Hewitt, TCS,


consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error

6 Answers   ABCL, TCS,


Categories