MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to execute first 20 steps?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Mon Jul 18, 2005 6:08 am    Post subject: How to execute first 20 steps? Reply with quote

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
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Mon Jul 18, 2005 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Mon Jul 18, 2005 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Mon Jul 18, 2005 8:18 am    Post subject: Reply with quote

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
View user's profile Send private message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Tue Jul 19, 2005 12:15 am    Post subject: Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Jul 19, 2005 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Tue Jul 19, 2005 3:19 am    Post subject: Reply with quote

Thankx Mr. superk,

Can you pls. explain with an example. How to mark .A and .B.
_________________
Sabari
Madras
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Jul 19, 2005 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Tue Jul 19, 2005 5:55 am    Post subject: Reply with quote

Thank for your support, Now i have a clear idea.
_________________
Sabari
Madras
Back to top
View user's profile Send private message
dneufarth
Beginner


Joined: 05 Apr 2005
Posts: 11
Topics: 0

PostPosted: Tue Jul 19, 2005 5:53 pm    Post subject: Reply with quote

Just for fun, can you please post the JCL with 50 steps?

Dave
Back to top
View user's profile Send private message
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Wed Aug 03, 2005 1:34 am    Post subject: Reply with quote

can any body explain how to do it by using IEBEDIT utility ??
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
hisabarish
Beginner


Joined: 21 Jun 2005
Posts: 38
Topics: 11

PostPosted: Wed Aug 03, 2005 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message
batu544
Beginner


Joined: 02 Aug 2005
Posts: 75
Topics: 27

PostPosted: Thu Aug 04, 2005 12:45 am    Post subject: Reply with quote

Hi hisabarish,

Thanks for your quick reply..
_________________
Regards,
batu
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
vinush2000
Beginner


Joined: 17 Jun 2005
Posts: 15
Topics: 5

PostPosted: Thu Aug 04, 2005 3:47 am    Post subject: thanks superk ! Reply with quote

hi all, a very useful thread it is.

superk 's tip is a very useful one.

vinu
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group