Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

jcl how to skip jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: jcl how to skip jobs
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: 436
Location: chennai, India

PostPosted: Tue Sep 20, 2005 1:38 pm    Post subject: Re: jcl how to skip jobs
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: 464

PostPosted: Tue Sep 20, 2005 2:07 pm    Post subject: Re: jcl how to skip jobs
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    Post subject: Re: jcl how to skip jobs
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

Moderator Team Head


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

PostPosted: Wed Sep 21, 2005 9:07 pm    Post subject: Re: jcl how to skip jobs
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    Post subject: Wrong Question
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    Post subject: Re: jcl how to skip jobs
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am
No new posts why i need hit enter after EXECIO * D... jackzhang75 CLIST & REXX 10 Fri May 20, 2016 9:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us