View previous topic :: View next topic
|
Author |
Message |
vamseepotti
New User
Joined: 21 Oct 2003 Posts: 45
|
|
|
|
Hi I have doubt on Job steps?
Some steps r there in JOB? I want to run first step only and remaining steps should be skip?How? |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
You can put a black line like "//" after first step. The job will be completed there only.
Regards,
Sandip. |
|
Back to top |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
hi,
Just put Null statement "//" after the first step and you will be able to execute the first step only.
regards
Vikas |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
try this,,
in the job card mention cond parameter has...COND=(0,LE)...
if first job steps return code is 0 then remaining all the jobs will not get executed....
correct me if i am wrong.....
Thanks,
Rajesh |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
Some steps r there in JOB? I want to run first step only and remaining steps should be skip?How? |
I also agree iwth Sandip and Vikas,
Rajesh,
Quote: |
n the job card mention cond parameter has...COND=(0,LE)... |
What wil heppend if step1 not run fine.
Regards
Rupesh |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
Thanks rupesh..for correcting me....
try this....in the job card...
COND=(4095,GE)
Correct me if i am wrong...
Thanks,
Rajesh |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
Hey rupesh u made me confused..
we can use...
COND=(0,LE) or
COND=(4095,GE) at the job card...
Thanks,
Rajesh. |
|
Back to top |
|
|
batakhani
New User
Joined: 29 Mar 2005 Posts: 2
|
|
|
|
Hi Use COND=(0,LE)
// after step1
OR
// after step1 no need of cond parameter. |
|
Back to top |
|
|
aitha_prashanth
New User
Joined: 17 Mar 2005 Posts: 8 Location: chennai
|
|
|
|
u can give a null stmt after after first step..
ex:
//step1 exec.........
//ddname...
//ddname..
// <---null stmt |
|
Back to top |
|
|
Preetha
New User
Joined: 11 Jan 2006 Posts: 1
|
|
|
|
hello,
just write job in that last command line.automatically all the job codes will appear in (tso/390).i dont know how to do in other operating systems..
thankyou. |
|
Back to top |
|
|
shailen
New User
Joined: 27 Mar 2004 Posts: 22
|
|
|
|
//TESTPGM1 JOB 509398,COND-PGM,COND=(0,EQ)
//..
//... |
|
Back to top |
|
|
shanudarling Warnings : 1 New User
Joined: 20 Dec 2006 Posts: 55 Location: noida
|
|
|
|
hi rupesh.....
Quote:
n the job card mention cond parameter has...COND=(0,LE)...
What wil heppend if step1 not run fine.
1st step always exec in every cond. if rc>0 (e.g. RC=4) IT CHECKS
0<4. the cond is true job terminate automatically. |
|
Back to top |
|
|
|