View previous topic :: View next topic
|
Author |
Message |
babuprasad_g Currently Banned New User
Joined: 26 May 2005 Posts: 45 Location: gurgaon
|
|
|
|
We have three steps
// step1
.
.
.
// step2
.
.
.
//step3...
.
.
My question is i want to execute only step2 not step1 aND STEP3...
How is this possible |
|
Back to top |
|
|
ikumar
New User
Joined: 02 Aug 2005 Posts: 81
|
|
|
|
code COND=ONLY in the first step and code COND=(0,LE) in the third step...
Cheers,
Kumar. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
My question is i want to execute only step2 not step1 aND STEP3... |
This topic already discussed.
Please make search before posting the topic.
Regards
Rupesh |
|
Back to top |
|
|
appasi
New User
Joined: 12 Dec 2005 Posts: 20 Location: Bangalore
|
|
|
|
Hi babuprasad_g,
code RESTART = step2 in Jobcard,
and in third step code COND=(0,LE).
by coding this only step2 is executed
not the step1 & step3.
correct me if i am wrong |
|
Back to top |
|
|
babuprasad_g Currently Banned New User
Joined: 26 May 2005 Posts: 45 Location: gurgaon
|
|
|
|
Hi Appasi,
If we put restart = step 2.the job will start from step 2 onwards.
it will execute all the steps from step 2.i think not only step 2. |
|
Back to top |
|
|
appasi
New User
Joined: 12 Dec 2005 Posts: 20 Location: Bangalore
|
|
|
|
Hi babuprasad_g,
I think you have not seen my given
code, please go through it you will
come to know how it will help to exe
cute only the second step.
if not correct me |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
First, Rupesh is right, make a search before posting.
Appasi, you are right but why don't you code the COND in jobcard???
Code: |
// RESTART=STEP2,COND=(0,LE) |
|
|
Back to top |
|
|
appasi
New User
Joined: 12 Dec 2005 Posts: 20 Location: Bangalore
|
|
|
|
Hi MGIndaco,
Please check that i have clearly mentioned
that code the cond in third step ok.
if not so correct me. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
I read your reply, and I suggest you another method.
But if you have many step you must to code COND in 3th, 4th n.th.
If you put COND in jobcard you can avoid those in steps.
I hope in this. |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
THIS IS PERFECT
// RESTART=STEP2,COND=(0,LE) ..........IN JOB TO EXECUTE ONLY PERTICULAR STEP
IF I AM WRONG SOMEWHERE PLEASE CORRECT ME
THANK YOU
DO SEND ME THE REPLY
PAWAN
09822546416
// THE ONE I LOVE , I SHALL NEVER BLAME // |
|
Back to top |
|
|
elonics
New User
Joined: 05 Jul 2005 Posts: 49 Location: India
|
|
|
|
Hai All,
To execute a particular step, place .A infront of(in linenumbers) that step
and .B infront of the end of that step.
AND GIVE "SUB .A .B" IN THE COMMAND LINE. This will submit only ur step 2.
This Should work. You need not submit job card coz it will intiate default JOB CARD. If you are doing it thru PROC , then give "SUB .A .B" in the JCl which is running the PROC .
Correction are welcomed.
Elonics. |
|
Back to top |
|
|
yogesh.yvm
New User
Joined: 02 Oct 2007 Posts: 1 Location: pune
|
|
|
|
code RESTART=STEP2,COND=(0,LE).ON JOBCARD.
so due to this it will just execute step2 only.... |
|
Back to top |
|
|
hemanth.nandas
Active User
Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
Hi all,
Quote: |
My question is i want to execute only step2 not step1 aND STEP3...
|
Use IEBEDIT utility to perfom above task. Its very user friendly.
//STEP01 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=dsn-name,DISP=SHR
//*
//*DSN-NAME IS ONE CONTAINING YOUR JCL STATEMENTS
//*
//SYSIN DD *
INCLUDE STEP=(STEP001,STEP003)
/*
THANKS AND REGARDS |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Hemanth,
Very thanks for the JCL. Im sure the person who started the query either GOT the required thing previously or DOESN'T need this anymore (as this being 2005 post). |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi Yogesh & Welcome to Forums,
You are bit late in answering the thread. Last post, for this thread, before yours, was posted on Feb 02, 2006. |
|
Back to top |
|
|
hemanth.nandas
Active User
Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
Hi Murali,
You are most welcome....
Thanks N Regards |
|
Back to top |
|
|
|