how will be submit 1 jcl by other jcl? means that how 'll
submit one job by other job??

Answers were Sorted based on User's Feedback



how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??..

Answer / saurav paul

You can submit thru IEBGENER utility by copying your job in
the internal reader. Please go thru the steps :

A$xxxx JOB (1354),'SAURAV PAUL',CLASS=x,MSGCLASS=x,
NOTIFY=&SYSUID
STEP1 EXEC PGM=IEBGENER
SYSPRINT DD SYSOUT=*
SYSUT1 DD DSNAME=abcDISP=SHR
SYSUT2 DD SYSOUT=(*,INTRDR)
SYSIN DD DUMMY

Is This Answer Correct ?    21 Yes 2 No

how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??..

Answer / arif

One way of doing this..

you should have pgm=IKJEFT01 step in your jcl.
In its SYSTSIN dd * have the following tso command.
'TSO SUB TMXA055.JCL.CNTL(OTHERJCL)'
All other necessary DD names to be coded.

Note: IKJEFT01 is the batch pgm for TSO

Is This Answer Correct ?    10 Yes 6 No

how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??..

Answer / yogesh

Just have a step like this in the calling JCL:

//StepXXX EXEC SUBMIT,DSN='abc.jcl.xyz(BBBBB)'

Is This Answer Correct ?    2 Yes 10 No

Post New Answer

More JCL Interview Questions

Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


What is difference between Return Code, user completion code, Abend code and reason Code?

2 Answers   IBM, Satyam, Wipro,


I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

8 Answers   ADP,






Which statement is used to identify the private libraries in job?

0 Answers  


What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?

1 Answers   CTS,


Can you code instream data in a PROC ?

10 Answers  


Max generations in GDG??

15 Answers   Xansa,


if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?

5 Answers   Accenture,


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


How to execute a set of JCL statements from a COBOL program ?

6 Answers  


Categories