View previous topic :: View next topic |
Author |
Message |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Mon Jul 18, 2005 6:08 am Post subject: How to execute first 20 steps? |
|
|
I have a doubt in Condition parameter. Can any body revert me ?
I searched for the related links but i cant get the exact solution.
I have a job with 50 steps. Now i want to execute only first 20 steps.
Client dont want the IEBEDIT logic and they dont accept the Null statement after the 20th step. Other than that how we cant solve this requirement.
Pls. reply me.
Thankx
Sabari _________________ Sabari
Madras |
|
Back to top |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Mon Jul 18, 2005 6:30 am Post subject: |
|
|
Sabari,
If this is a cataloged procedure with 50 steps, then you could do something like:
Code: |
//STEPNAME EXEC YOURPROC,
// COND.STEP21=(0,LE),
// COND.STEP22=(0,LE),
// etc, etc
|
_________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Mon Jul 18, 2005 6:45 am Post subject: |
|
|
Er...Mervyn,
He said, he has a job with 50 steps.
Sabari,
The really simple method (especially you are talking of NOT executing more than 50% of the steps) is to create a new job with the first 20 steps only. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Mon Jul 18, 2005 8:18 am Post subject: |
|
|
Cogito,
Nobody sensible has a job with 50 steps, unless they're in a cataloged procedure.
He seems to imply he doesn't want to create a job with only 20 steps. _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
 |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Tue Jul 19, 2005 12:15 am Post subject: |
|
|
Thankx Cogito-Ergo-Sum and Mervyn for your Response
My requirement is that , I want to execute only the first 20 steps in the Job.
_________________ Sabari
Madras |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Jul 19, 2005 1:46 am Post subject: |
|
|
Then tag the first line of the job with a tag such as .A, and tag the last line needed of the job with a tag such as .B, then submit everything between the tags "SUBMIT .A .B". |
|
Back to top |
|
 |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Tue Jul 19, 2005 3:19 am Post subject: |
|
|
Thankx Mr. superk,
Can you pls. explain with an example. How to mark .A and .B. _________________ Sabari
Madras |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Tue Jul 19, 2005 3:24 am Post subject: |
|
|
Superk means the line 'command'. Something like this,
Code: |
.A //XXXXXXXX JOB ,NOTIFY=YYYYYYY,CLASS=I
000002 //*
000003 //STEP1 EXEC PGM=SORT
000004 //SYSIN DD *
000005 OPTION COPY
000006 /*
000007 //SORTIN DD *
000008 DATA1
000009 /*
000010 //SORTOUT DD SYSOUT=I
.B //SYSOUT DD SYSOUT=I
|
Then, on the command line type SUB .A .B _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Tue Jul 19, 2005 5:55 am Post subject: |
|
|
Thank for your support, Now i have a clear idea. _________________ Sabari
Madras |
|
Back to top |
|
 |
dneufarth Beginner
Joined: 05 Apr 2005 Posts: 11 Topics: 0
|
Posted: Tue Jul 19, 2005 5:53 pm Post subject: |
|
|
Just for fun, can you please post the JCL with 50 steps?
Dave |
|
Back to top |
|
 |
batu544 Beginner
Joined: 02 Aug 2005 Posts: 75 Topics: 27
|
Posted: Wed Aug 03, 2005 1:34 am Post subject: |
|
|
can any body explain how to do it by using IEBEDIT utility ?? _________________ Regards,
batu |
|
Back to top |
|
 |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Wed Aug 03, 2005 5:16 am Post subject: |
|
|
Hi batu,
IEBEDIT is an utility to execute the particular step or steps , and the steps might be in a random or a sequential order. Now come to the IEBEDIT , Here you have to create a new JCL and submit the particular job which u want to executes a particular steps.
For example :-
[code:1:c0edde1e2d]
// IEBEDJOB Job ( _________________ Sabari
Madras |
|
Back to top |
|
 |
batu544 Beginner
Joined: 02 Aug 2005 Posts: 75 Topics: 27
|
Posted: Thu Aug 04, 2005 12:45 am Post subject: |
|
|
Hi hisabarish,
Thanks for your quick reply.. _________________ Regards,
batu |
|
Back to top |
|
 |
vinush2000 Beginner
Joined: 17 Jun 2005 Posts: 15 Topics: 5
|
Posted: Thu Aug 04, 2005 3:47 am Post subject: thanks superk ! |
|
|
hi all, a very useful thread it is.
superk 's tip is a very useful one.
vinu |
|
Back to top |
|
 |
|
|