I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?
Answers were Sorted based on User's Feedback
Answer / vidya
From 5th to 10th step, give COND parameter. Give the
condition as COND=(0,LE). As 0 is always less than or equal
to the return code of executing step it will bypass.
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / kaarthik
USE IEBEDIT utility to just execute the steps you want to
execute in it.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / zos13
One more Answer:
If you are good with IDCAMS, then in step5 or (add 1 more step
With name step5r after step 5 and before step6) supply
//step5r exec pgm=IDCAMS
//sysin dd *
SET MAXCC = 16
/*
in Job card, use : COND=(16,EQ).
It will execute till step5 successfully, at step5r it will acquire MAXCC=16, Condition in JOB card is true, all steps will be bypassed after5.
**If you can't create new STEP5r, then please use SYSIN DD * in step5, it is same thing*****
You may also use RC in place of MAXCC.
Please reply here if it works for you or at: thespider390@hotmail.com
Is This Answer Correct ? | 0 Yes | 0 No |
Brief description of inline procedure of jcl.
how to count the number of members in pds?
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
what are the options in file-aid to edit vsam dataset and to compare data sets.
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP
How to overide the symbol parameter in the jcl ?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes
how you can direct the data to spool using SYSOUT option?