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
 
CLASS parameter oveeride

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

New User


Joined: 09 Apr 2008
Posts: 18
Location: India

PostPosted: Wed Jun 18, 2008 9:57 am    Post subject: CLASS parameter oveeride
Reply with quote

Hi,

My JCL consists of 6 steps.But I have to execute 3 steps by providing a different class parameter.Hence i have to spilt my JCL into 2 JCL's.Is there any way to do this in a single JCL?Is it possible to provide overrides in the step for the CLASS paramete?

Please advise

Regards,
Anu
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jun 18, 2008 10:00 am    Post subject:
Reply with quote

Hello,

Once a job begins execution, it runs in that class.

What can be gained by separating a job into a second class?

If we understood the requirement (not switching classes, but why), we may be able to offer suggestions.
Back to top
View user's profile Send private message
Anu R

New User


Joined: 09 Apr 2008
Posts: 18
Location: India

PostPosted: Wed Jun 18, 2008 10:22 am    Post subject: Reply to: CLASS parameter oveeride
Reply with quote

I have to use a different class for executing or compiling DB2 programs.For normal COBOL pgms and other steps it is a different class.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jun 18, 2008 10:26 am    Post subject:
Reply with quote

Hello,

I suggest you talk with the people who make the rules for your system.

From what you've said, if a job does any db2, the entire job should
run in the "db2 class". If it has no db2, it runs in another class.

Consider a 10 step job that had 4 db2 steps and 6 non-db2 steps and they are interleaved. It makes no sense to try to "dance around" and run that many different jobs to accommodate "class-switching".

In either case, class switching would provide no benefit.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Jun 21, 2008 3:51 pm    Post subject:
Reply with quote

Yip, another case of "Rules is rules, even if they are useless rules".
Back to top
View user's profile Send private message
manojtyagi_09

New User


Joined: 30 Oct 2006
Posts: 10

PostPosted: Thu Jun 26, 2008 1:44 pm    Post subject:
Reply with quote

If you want to execute only the first 3 steps with the CLASS u mentioned. Put a Null statement after the 3rd step. All the below steps will not be executed.
Back to top
View user's profile Send private message
manojtyagi_09

New User


Joined: 30 Oct 2006
Posts: 10

PostPosted: Thu Jun 26, 2008 1:47 pm    Post subject:
Reply with quote

[quote="manojtyagi_09"]

Thinking that you want to execute first 3 steps with CLASS = A and next 3 with CLASS = B.

First Take CLASS = A in job statment and run the first 3 steps using the null statement end the end of 3rd step.

Once done

Change CLASS = B in job stattment take RESTART = Step 4 in your JCL and submit that .

That's it.

But i do not know what is the use of doing such thing.
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 question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm

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