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 

Skipping a Step in Proc based on schedule ID

 
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
ayush
Beginner


Joined: 26 Feb 2004
Posts: 20
Topics: 14

PostPosted: Mon Jul 25, 2005 2:17 pm    Post subject: Skipping a Step in Proc based on schedule ID Reply with quote

Hi,
I want to skip a step from the proc, only on fiscal runs in our batch system.
We have a separate schedule id for fiscal runs.
Is there any way that this can be skipped ?
I tried coding "#JO,ID=(020)" command in the proc, but it gave error when I did JSCAN.

If anyone has any idea how to do this please let me know.
Thanks.
Ayush
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Jul 27, 2005 6:25 am    Post subject: Reply with quote

ayush,

To omit statements from 0100 to 0110, use:
Code:

#JO,ID=020,BD=0100,ED=0110
 .
 . (JCL statements to be omitted)
 .
#JEND


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dojeb
Beginner


Joined: 14 Jan 2003
Posts: 13
Topics: 0
Location: Morgan Hill, CA,USA

PostPosted: Thu Jul 28, 2005 1:22 pm    Post subject: Reply with quote

When using CA7 #J cards, for JOB/SCAN to interpret them properly, you need to use the Selection Exit with a value of either CA7J1 or CA7J2, and a PARM if you want a specific Schedule id to be interrogated.

Please refer to the JOB/SCAN Referenc manual for 'Scheduler Interfaces'.

If you don't have access to the manuals, please contact me at
doug.berg@diversifiedsoftware.com
Back to top
View user's profile Send private message Visit poster's website
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