I have Job A and Job B. I want to trigger Job B from Job A.
Answers were Sorted based on User's Feedback
Answer / neeraj wadhwa
//JOB1 JOB (....),CLASS=X,MSGCLASS=X
//STEP1 EXEC PGM=.....
// IF (STEP1.RC > 0) THEN
//STEP2 EXEC PGM=IEBGENER
//SYSUT1 DD DISP=SHR,DSN=MY.JCL(JOB2)
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
|Is This Answer Correct ?||4 Yes||0 No|
Answer / mkgupta
Use terminal monitoring program like IKJEFT1B or IKJEFT01 and suppy tso submit command to submit the job.
Use simple rexx code to submit the job.
Use iebgener to copy the jcl to intrdr.
|Is This Answer Correct ?||0 Yes||2 No|
Is it possible to left uncode disp? If yes, how?
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.
what is fixed length and variable length and difference between them
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
What statement marks the end of an in-stream or catalogued procedure?
in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.
How does jcl act on code(if you take a cobol program)?
Can we write same stepname for one or more steps in on job ?
What is the purpose of dd * statement in jcl?
How do you restart a step in JCL?
what operation is performed by job statement?