Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Want to execute from step30 to step60 only

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vodeti
Warnings : 1

New User


Joined: 19 Sep 2005
Posts: 13

PostPosted: Thu Sep 22, 2005 6:04 pm    Post subject: Want to execute from step30 to step60 only
Reply with quote

Hello friends,


My JOB consists of 100 steps.


I want to execute from step30 to step60 only.

How to code the COND parameter?


Bye
vani

NOTE: TITLE EDITED
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Sep 22, 2005 6:21 pm    Post subject: Re: JCL
Reply with quote

Hi Vani,

For all your queries posted in last few mins...

1> Should have chosen proper forum to post question.
2> Shoul have given proper subject line.
3> Should have made SEARCH in the forum reg the question.

But None of the rule followed.

Well, Give RESTART=S030 & code a NULL stmt (// )after S060.

This is the easiest you can do.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Sep 22, 2005 6:21 pm    Post subject: Re: JCL
Reply with quote

HI,


Quote:
My JOB consists of 100 steps.


I want to execute from step30 to step60 only.

How to code the COND parameter?


This Topic has discussed many times. Please make search before the posting.

Regards

Rupesh
Back to top
View user's profile Send private message
gangas

New User


Joined: 20 Jul 2005
Posts: 15

PostPosted: Fri Sep 23, 2005 3:01 pm    Post subject:
Reply with quote

Hi,
By using the IBEDIT utility we can execute the particular steps
Pgm=IEBEDIT,select=(step30,step60).
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 252
Location: Cincinnati OH USA

PostPosted: Fri Sep 23, 2005 11:00 pm    Post subject:
Reply with quote

We're all curious. Please post the JCL for this 100 step job.


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

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Mon Sep 26, 2005 2:19 pm    Post subject:
Reply with quote

Hi dneufarth
As priyesh.agrawal said, the easiest way is(change ur job percentage is very less compare with other solutions)here. The changes are shown in Green colour.


//JOBXXXX JOB (960,TEST,,,,9900),ABC, TEST',
// MSGCLASS=T,NOTIFY=VANI,CLASS=L,MSGLEVEL=(1,1),
// RESTART=STEP30
//*------------------------------------------------------------------------------*
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST001 NONVSAM
SET MAXCC=0
//*
?..
?. .
??.
??

//*------------------------------------------------------------------------------*
//STEP60 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST0060 NONVSAM
SET MAXCC=0
//
Back to top
View user's profile Send private message
Anbudan

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Mon Sep 26, 2005 2:35 pm    Post subject:
Reply with quote

Hi
In my previous post, the colour is not existing properly, See below with blue colour.


//JOBXXXX JOB (960,TEST,,,,9900),ABC, TEST',
// MSGCLASS=T,NOTIFY=VANI,CLASS=L,MSGLEVEL=(1,1),
[size=12]//
RESTART=STEP30 [/size]

//*------------------------------------------------------------------------------*
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST001 NONVSAM
SET MAXCC=0
//*
?..
?. .
??.
??

//*------------------------------------------------------------------------------*
//STEP60 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST0060 NONVSAM
SET MAXCC=0
//


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

Active User


Joined: 27 Apr 2005
Posts: 252
Location: Cincinnati OH USA

PostPosted: Wed Sep 28, 2005 4:24 am    Post subject:
Reply with quote

Anbudan,

I know how to do it. Just wanted to see a production job with 100 steps as it must be difficult to manage and restart upon failure. I've never seen a job with that many steps as QA group (me a my last few jobs) would put a halt to it.

It also seems a bit simplistic to say just use RESTART and // when no one knows about which datasets/databases need to be restored or whether a needed input might have been PASSED rather than cataloged.

If it's a hypothetical, then poster should say so.


Dave
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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us