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

Want to execute from step30 to step60 only


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Sep 22, 2005 6:21 pm
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: 463

PostPosted: Thu Sep 22, 2005 6:21 pm
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: 14

PostPosted: Fri Sep 23, 2005 3:01 pm
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: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Fri Sep 23, 2005 11:00 pm
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
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
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: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Wed Sep 28, 2005 4:24 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Fetch data from programs execute (dat... DB2 3
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
No new posts Execute REXX on logon with ISPF CLIST & REXX 3
Search our Forums:

Back to Top