IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

jcl how to skip jobs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
narvapreddy
Warnings : 1

New User


Joined: 29 May 2005
Posts: 5

PostPosted: Tue Sep 20, 2005 12:52 pm
Reply with quote

hi

this is narvapreddy,

my question is

my jcl programe contains 10 jobs how to excute job3 skipping of
job1 and job2

any body give answr with small example
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Tue Sep 20, 2005 1:38 pm
Reply with quote

Quote:
my jcl programe contains 10 jobs how to excute job3 skipping of
job1 and job2

JCL programe??
You have 10 jobs or 10 steps??

friend,
Please post your query in a clear way.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Sep 20, 2005 2:07 pm
Reply with quote

Hi,



The Best solution for this kind of query is to write separate JCL for each Job. icon_smile.gif

This type of query already post. Please make search of it.


Regards

Rupesh
Back to top
View user's profile Send private message
narvapreddy
Warnings : 1

New User


Joined: 29 May 2005
Posts: 5

PostPosted: Wed Sep 21, 2005 7:59 pm
Reply with quote

hi friend ,

my jcl praorame contain 10 jobs
but how can i execute job3 & job4( means without executing of job1&job3)
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Sep 21, 2005 9:07 pm
Reply with quote

narvapreddy, you were asked once already to clarify your request. All you've done is ask a slightly different question in the same vague manner.

First, what is a "jcl praorame"?

Either way, I think you need to read the "DFSMS/MVS V1R5 Utilities" manual, "Chapter 5.0 IEBEDIT" to answer your question.
Back to top
View user's profile Send private message
suman12

New User


Joined: 22 Sep 2005
Posts: 3

PostPosted: Thu Sep 22, 2005 11:57 am
Reply with quote

A cobol prog can submitted by JCL JOB. A Job can contain Multiple steps. If you want to skip any of the step you have to use RD parameter in EXEC Statement. I feel this is correct answer..
Back to top
View user's profile Send private message
nitin4.a

New User


Joined: 16 Aug 2005
Posts: 26

PostPosted: Thu Sep 22, 2005 12:19 pm
Reply with quote

Hi

superk is write the question is wrong since if a job contains jobs ,then if that job containg multiple jobs will run each job included in that will run respective i.e as a whole means it will not be apart of any other

but if job contains multiple steps they can be skiped by using COND
parameter in jcl


regards
nitin
Back to top
View user's profile Send private message
Anbudan

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Thu Sep 22, 2005 2:45 pm
Reply with quote

Hi narvapreddy

If ur question is to run step3 & step4 ONLY, then
My answer is,
i)In JOB statmt, add 'RESTART = STEP3'
ii)End of Step4 , add '//'



Hope this will help
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top