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
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 |
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 |
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 |
How are datasets concatenated?
Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below, What will be the output file name in each step ? PROC starts Step 1 has ID.GDG.FILE(+1) Step2 has ID.GDG.FILE(+4) PEND Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ? PROC starts Step 1 has ID.GDG.FILE(+1) PEND PROC1 starts Step2 has ID.GDG.FILE(+4) PEND
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
read all error codes like SB07?
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
What are the 4 fields in dd statement?
how to see the latest generation in gdg?
Can we change a FB file to VB file in JCL? Please help
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
what is the purpose of coding notify parameter in job statement?
what is the restart?hopw it is invoked?