View previous topic :: View next topic
|
Author |
Message |
raju_rangam Warnings : 1 New User
Joined: 31 Mar 2005 Posts: 25 Location: bangalore
|
|
|
|
how to execute first 50 steps out of 1000 steps with minimum code |
|
Back to top |
|
|
kumar_ngl Warnings : 1 New User
Joined: 05 Aug 2005 Posts: 50 Location: chennai
|
|
|
|
hi raju,
very next to the 50th step give // , that means thats the end of ur job..
correct me if am wrong
kumar.p.v |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi raju_rangam,
Code a blank statement after Step 50.
Code: |
STEP50...
...........
//
STEP51
STEP52
.
.
.
STEP1000 |
I think it is the most minimum you can do.....
Regards,
Priyesh. |
|
Back to top |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
1) you can put a null statement between the job, after 50th step..
2) I am sure you must be using procedures because you have 1000 steps
you can override the condition code as CON=(0,GE) for the remaining steps |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
Hi raju
you can do with iebedit
//EDIT2 JOB ...
//STEP1 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSN=INJOBS,DISP=(OLD,KEEP),VOLUME=SER=??1234,
// UNIT=tape
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT START=JOBA,TYPE=INCLUDE,STEPNAME=STEP1-STEP50
/*
THANKS,
THANOOZ. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
You can also use Sub From To
i.e
Code: |
Command ==> Sub .a .b
.a0001 //STEP010P EXEC ...
000002 //...
000003 //STEP050P EXEC ...
000004 //...
.b0005 //.........
000006 //STEP051P EXEC ... |
|
|
Back to top |
|
|
|