proc1,proc2,up to proc5 is there if i want to call proc1 and
proc5how can u write the code
Answers were Sorted based on User's Feedback
Hi..............
we can call proc as following.
//COOLJCL JOB NOTIFY=&SYSUID
//PROCFILE JCLLIB ORDER='PROCEDURE-FILE-NAME'
//STEP1 EXEC PROC1
//SYSPRINT DD SYSOUT=*
.
. * OVERRIDE STATEMENT
.
//STEP2 EXEC PROC5
.
. * OVERRIDE STATEMENT
.
//
THANKS..........
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / harsha
1 You can use COND parameter as COND=(0,LE) on STEP2 till
STEP4.
2 You can comment out the step you do not want to execute.
3 You can use IEBEDIT to select the steps you want to
execute.
Is This Answer Correct ? | 2 Yes | 0 No |
What happens if both JOBLIB and STEPLIB is specified ?
Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?
how to skip the steps in JCl
is step name is compulsory in jcl ?
which statement is used to end the in-stream procedure in a jcl?
How to send data from cobol program to jcl?
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.
I had 100 steps in jcl i want to execute first 10 steps only?
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Is there any command to check wether the ps file is in sorted order?